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
Overrides DumperInterface::getProxyFactoryCode
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php, line 35
Class
- NullDumper
- Null dumper, negates any proxy code generation for any given service definition.
Namespace
Symfony\Component\DependencyInjection\LazyProxy\PhpDumper
Code
public function getProxyFactoryCode(Definition $definition, $id) {
return '';
}