You are here

public function RuntimePublicReflectionPropertyTestProxyMock::__isset in Plug 7

Parameters

string $name:

Return value

integer

File

lib/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);
}