public function MagicGetByRefClass::__get in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicGetByRefClass.php \Doctrine\Tests\Common\Proxy\MagicGetByRefClass::__get()
Parameters
string $name:
Return value
mixed
Throws
\InvalidArgumentException
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ MagicGetByRefClass.php, line 43
Class
- MagicGetByRefClass
- Test asset class
Namespace
Doctrine\Tests\Common\ProxyCode
public function &__get($name) {
if ($name === 'value') {
return $this->valueField;
}
throw new InvalidArgumentException();
}