public function NullDumper::getProxyFactoryCode in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper::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
Overrides DumperInterface::getProxyFactoryCode
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ LazyProxy/ PhpDumper/ NullDumper.php, line 34
Class
- NullDumper
- Null dumper, negates any proxy code generation for any given service definition.
Namespace
Symfony\Component\DependencyInjection\LazyProxy\PhpDumperCode
public function getProxyFactoryCode(Definition $definition, $id) {
return '';
}