You are here

public function RuntimePublicReflectionPropertyTestProxyMock::__setInitialized in Plug 7

Marks the proxy as initialized or not.

Parameters

boolean $initialized:

Return value

void

Overrides Proxy::__setInitialized

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Reflection/RuntimePublicReflectionPropertyTest.php, line 131

Class

RuntimePublicReflectionPropertyTestProxyMock
Mock that simulates proxy public property lazy loading

Namespace

Doctrine\Tests\Common\Reflection

Code

public function __setInitialized($initialized) {
  $this->initialized = (bool) $initialized;
}