You are here

public function NullDumper::isProxyCandidate in Service Container 7

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

Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.

Parameters

Definition $definition:

Return value

bool

Overrides DumperInterface::isProxyCandidate

File

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

Class

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

Namespace

Symfony\Component\DependencyInjection\LazyProxy\PhpDumper

Code

public function isProxyCandidate(Definition $definition) {
  return false;
}