You are here

public function RuntimePublicReflectionPropertyTestProxyMock::__isset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Reflection/RuntimePublicReflectionPropertyTest.php \Doctrine\Tests\Common\Reflection\RuntimePublicReflectionPropertyTestProxyMock::__isset()

Parameters

string $name:

Return value

integer

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Reflection/RuntimePublicReflectionPropertyTest.php, line 169

Class

RuntimePublicReflectionPropertyTestProxyMock
Mock that simulates proxy public property lazy loading

Namespace

Doctrine\Tests\Common\Reflection

Code

public function __isset($name) {
  if ($this->initializer) {
    $cb = $this->initializer;
    $cb();
  }
  return isset($this->checkedProperty);
}