You are here

public function NullDumper::isProxyCandidate in Zircon Profile 8.0

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

vendor/symfony/dependency-injection/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;
}