You are here

public function Proxy::__setCloner in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Proxy/Proxy.php \Doctrine\Common\Proxy\Proxy::__setCloner()

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

1 method overrides Proxy::__setCloner()
RuntimePublicReflectionPropertyTestProxyMock::__setCloner in vendor/doctrine/common/tests/Doctrine/Tests/Common/Reflection/RuntimePublicReflectionPropertyTest.php
Sets the callback to be used when cloning the proxy. That initializer should accept a single parameter, which is the cloned proxy instance itself.

File

vendor/doctrine/common/lib/Doctrine/Common/Proxy/Proxy.php, line 72

Class

Proxy
Interface for proxy classes.

Namespace

Doctrine\Common\Proxy

Code

public function __setCloner(Closure $cloner = null);