class MagicGetByRefClass in Plug 7
Test asset class
@since 2.4
Hierarchy
- class \Doctrine\Tests\Common\Proxy\MagicGetByRefClass
Expanded class hierarchy of MagicGetByRefClass
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ MagicGetByRefClass.php, line 29
Namespace
Doctrine\Tests\Common\ProxyView source
class MagicGetByRefClass {
/**
* @var mixed
*/
public $valueField;
/**
* @param string $name
*
* @return mixed
*
* @throws \InvalidArgumentException
*/
public function &__get($name) {
if ($name === 'value') {
return $this->valueField;
}
throw new InvalidArgumentException();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MagicGetByRefClass:: |
public | property | ||
MagicGetByRefClass:: |
public | function |