Generates the code to be used to instantiate a proxy in the dumped factory code.
Parameters
Definition $definition:
string $id service identifier:
Return value
string
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php, line 41
Class
- DumperInterface
- Lazy proxy dumper capable of generating the instantiation logic php code for proxied services.
Namespace
Symfony\Component\DependencyInjection\LazyProxy\PhpDumper
Code
public function getProxyFactoryCode(Definition $definition, $id);