Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface
Lazy proxy dumper capable of generating the instantiation logic php code for proxied services.
- Author: Marco Pivetta <ocramius@gmail.com>
Synopsis
interface DumperInterface
{
- // methods
- public bool isProxyCandidate()
- public string getProxyFactoryCode()
- public string getProxyCode()
Methods
public
- getProxyCode() — Generates the code for the lazy proxy.
- getProxyFactoryCode() — Generates the code to be used to instantiate a proxy in the dumped factory code.
- isProxyCandidate() — Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.