class ProxyDumper implements DumperInterface
Generates dumped PHP code of proxies via reflection.
__construct(string $salt = '') | ||
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 = null) 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. |
string | $salt |
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/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.html