public function 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

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php, line 27

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;
}