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