ProxyDumper
class ProxyDumper implements DumperInterface
Generates dumped PHP code of proxies via reflection.
Methods
__construct(string $salt = '')
Constructor.
bool
isProxyCandidate(Definition $definition)
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
string
getProxyFactoryCode(Definition $definition, string $id)
Generates the code to be used to instantiate a proxy in the dumped factory code.
string
Details
at line line 48
__construct(string $salt = '')
Constructor.
at line line 58
bool
isProxyCandidate(Definition $definition)
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
at line line 66
string
getProxyFactoryCode(Definition $definition, string $id)
Generates the code to be used to instantiate a proxy in the dumped factory code.
at line line 98
string
getProxyCode(Definition $definition)
Generates the code for the lazy proxy.