class ProxyDumper implements DumperInterface
Generates dumped PHP code of proxies via reflection.
__construct(string $salt = '') Constructor. | ||
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 | getProxyCode(Definition $definition) Generates the code for the lazy proxy. |
Constructor.
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
Generates the code to be used to instantiate a proxy in the dumped factory code.
Generates the code for the lazy proxy.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.html