public function RuntimePublicReflectionPropertyTestProxyMock::__set in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Reflection/RuntimePublicReflectionPropertyTest.php \Doctrine\Tests\Common\Reflection\RuntimePublicReflectionPropertyTestProxyMock::__set()
Parameters
string $name:
mixed $value:
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Reflection/ RuntimePublicReflectionPropertyTest.php, line 153
Class
- RuntimePublicReflectionPropertyTestProxyMock
- Mock that simulates proxy public property lazy loading
Namespace
Doctrine\Tests\Common\ReflectionCode
public function __set($name, $value) {
if ($this->initializer) {
$cb = $this->initializer;
$cb();
}
// triggers notices if `$name` is used: see https://bugs.php.net/bug.php?id=63463
$this->checkedProperty = $value;
}