DumperInterface
interface DumperInterface
Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.
Methods
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 30
bool
isProxyCandidate(Definition $definition)
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
at line line 40
string
getProxyFactoryCode(Definition $definition, string $id)
Generates the code to be used to instantiate a proxy in the dumped factory code.
at line line 49
string
getProxyCode(Definition $definition)
Generates the code for the lazy proxy.