interface DumperInterface
Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.
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) Generates the code to be used to instantiate a proxy in the dumped factory code. | |
string | getProxyCode(Definition $definition) Generates the code for the lazy proxy. |
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
Definition | $definition |
bool |
Generates the code to be used to instantiate a proxy in the dumped factory code.
Definition | $definition | |
string | $id | Service identifier |
string | $factoryCode | The code to execute to create the service |
string |
Generates the code for the lazy proxy.
Definition | $definition |
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.html