public function MagicIssetClass::__isset in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicIssetClass.php \Doctrine\Tests\Common\Proxy\MagicIssetClass::__isset()
Parameters
string $name:
Return value
bool
Throws
\BadMethodCallException
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ MagicIssetClass.php, line 26
Class
- MagicIssetClass
- Test asset class
Namespace
Doctrine\Tests\Common\ProxyCode
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;
}