function DumperInterface::getProxyFactoryCode
Generates the code to be used to instantiate a proxy in the dumped factory code.
2 methods override DumperInterface::getProxyFactoryCode()
- LazyServiceDumper::getProxyFactoryCode in vendor/
symfony/ dependency-injection/ LazyProxy/ PhpDumper/ LazyServiceDumper.php - Generates the code to be used to instantiate a proxy in the dumped factory code.
- NullDumper::getProxyFactoryCode in vendor/
symfony/ dependency-injection/ LazyProxy/ PhpDumper/ NullDumper.php - Generates the code to be used to instantiate a proxy in the dumped factory code.
File
-
vendor/
symfony/ dependency-injection/ LazyProxy/ PhpDumper/ DumperInterface.php, line 33
Class
- DumperInterface
- Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.
Namespace
Symfony\Component\DependencyInjection\LazyProxy\PhpDumperCode
public function getProxyFactoryCode(Definition $definition, string $id, string $factoryCode) : string;