DumperInterface

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, $id)

Generates the code to be used to instantiate a proxy in the dumped factory code.