You are here

public function RuntimePublicReflectionPropertyTestProxyMock::__getInitializer in Plug 7

Retrieves the initializer callback used to initialize the proxy.

Return value

Closure|null

Overrides Proxy::__getInitializer

See also

__setInitializer

File

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

Class

RuntimePublicReflectionPropertyTestProxyMock
Mock that simulates proxy public property lazy loading

Namespace

Doctrine\Tests\Common\Reflection

Code

public function __getInitializer() {
  return $this->initializer;
}