public function RuntimePublicReflectionPropertyTestProxyMock::__set in Plug 7
Parameters
string $name:
mixed $value:
File
- lib/
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;
}