public function ObjectProphecy::__set in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php \Prophecy\Prophecy\ObjectProphecy::__set()
Tries to set property value to double.
Parameters
string $name:
string $value:
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ ObjectProphecy.php, line 275
Class
- ObjectProphecy
- Object prophecy.
Namespace
Prophecy\ProphecyCode
public function __set($name, $value) {
$this
->reveal()->{$name} = $this->revealer
->reveal($value);
}