class MagicIssetClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicIssetClass.php \Doctrine\Tests\Common\Proxy\MagicIssetClass
Test asset class
Hierarchy
- class \Doctrine\Tests\Common\Proxy\MagicIssetClass
Expanded class hierarchy of MagicIssetClass
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ MagicIssetClass.php, line 8
Namespace
Doctrine\Tests\Common\ProxyView source
class MagicIssetClass {
/**
* @var string
*/
public $id = 'id';
/**
* @var string
*/
public $publicField = 'publicField';
/**
* @param string $name
*
* @return bool
* @throws \BadMethodCallException
*/
public function __isset($name) {
if ('test' === $name) {
return true;
}
if ('publicField' === $name || 'id' === $name) {
throw new \BadMethodCallException('Should never be called for "publicField" or "id"');
}
return false;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MagicIssetClass:: |
public | property | ||
MagicIssetClass:: |
public | property | ||
MagicIssetClass:: |
public | function |