You are here

public function DumperInterface::isProxyCandidate 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/DumperInterface.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface::isProxyCandidate()

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

Parameters

Definition $definition:

Return value

bool

2 methods override DumperInterface::isProxyCandidate()
NullDumper::isProxyCandidate in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
ProxyDumper::isProxyCandidate in lib/Drupal/Component/ProxyBuilder/ProxyDumper.php
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php, line 30

Class

DumperInterface
Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.

Namespace

Symfony\Component\DependencyInjection\LazyProxy\PhpDumper

Code

public function isProxyCandidate(Definition $definition);