ProxyDumper
class ProxyDumper implements DumperInterface
Generates dumped PHP code of proxies via reflection.
Methods
__construct(string $salt = '')
No description
bool
isProxyCandidate(Definition $definition)
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
string
getProxyFactoryCode(Definition $definition, string $id, string $factoryCode = null)
Generates the code to be used to instantiate a proxy in the dumped factory code.
string
Details
bool
isProxyCandidate(Definition $definition)
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
string
getProxyFactoryCode(Definition $definition, string $id, string $factoryCode = null)
Generates the code to be used to instantiate a proxy in the dumped factory code.