You are here

public function NullDumper::getProxyCode in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper::getProxyCode()

Generates the code for the lazy proxy.

Parameters

Definition $definition:

Return value

string

Overrides DumperInterface::getProxyCode

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php, line 42

Class

NullDumper
Null dumper, negates any proxy code generation for any given service definition.

Namespace

Symfony\Component\DependencyInjection\LazyProxy\PhpDumper

Code

public function getProxyCode(Definition $definition) {
  return '';
}