public function Proxy::__setInitializer in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Proxy/Proxy.php \Doctrine\Common\Proxy\Proxy::__setInitializer()
Sets the initializer callback to be used when initializing the proxy. That initializer should accept 3 parameters: $proxy, $method and $params. Those are respectively the proxy object that is being initialized, the method name that triggered initialization and the parameters passed to that method.
Parameters
Closure|null $initializer:
Return value
void
1 method overrides Proxy::__setInitializer()
- RuntimePublicReflectionPropertyTestProxyMock::__setInitializer in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Reflection/ RuntimePublicReflectionPropertyTest.php - Sets the initializer callback to be used when initializing the proxy. That initializer should accept 3 parameters: $proxy, $method and $params. Those are respectively the proxy object that is being initialized, the method name that triggered…
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ Proxy.php, line 53
Class
- Proxy
- Interface for proxy classes.
Namespace
Doctrine\Common\ProxyCode
public function __setInitializer(Closure $initializer = null);