public function DumperInterface::getProxyFactoryCode

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

1 method overrides DumperInterface::getProxyFactoryCode()
NullDumper::getProxyFactoryCode in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php
Generates the code to be used to instantiate a proxy in the dumped factory code.

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);