public function MagicGetByRefClass::__get in Plug 7
Parameters
string $name:
Return value
mixed
Throws
\InvalidArgumentException
File
- lib/
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();
}