You are here

public function NullDumper::getProxyFactoryCode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/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

vendor/symfony/dependency-injection/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\PhpDumper

Code

public function getProxyFactoryCode(Definition $definition, $id) {
  return '';
}