class ProxyDefinition (View source)

deprecated The Doctrine\Common\Proxy component is deprecated, please use ocramius/proxy-manager instead.

Definition structure how to create a proxy.

Properties

string $proxyClassName
array $identifierFields
ReflectionProperty[] $reflectionFields
callable $initializer
callable $cloner

Methods

__construct(string $proxyClassName, array $identifierFields, array $reflectionFields, callable $initializer, callable $cloner)

No description

Details

__construct(string $proxyClassName, array $identifierFields, array $reflectionFields, callable $initializer, callable $cloner)

Parameters

string $proxyClassName
array $identifierFields
array $reflectionFields
callable $initializer
callable $cloner