You are here

public function RuntimePublicReflectionPropertyTestProxyMock::__setCloner in Plug 7

Sets the callback to be used when cloning the proxy. That initializer should accept a single parameter, which is the cloned proxy instance itself.

Parameters

Closure|null $cloner:

Return value

void

Overrides Proxy::__setCloner

File

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

Class

RuntimePublicReflectionPropertyTestProxyMock
Mock that simulates proxy public property lazy loading

Namespace

Doctrine\Tests\Common\Reflection

Code

public function __setCloner(\Closure $cloner = null) {
}