function DumperInterface::isProxyCandidate
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
Parameters
bool|null &$asGhostObject Set to true after the call if the proxy is a ghost object:
2 methods override DumperInterface::isProxyCandidate()
- LazyServiceDumper::isProxyCandidate in vendor/
symfony/ dependency-injection/ LazyProxy/ PhpDumper/ LazyServiceDumper.php - Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
- NullDumper::isProxyCandidate in vendor/
symfony/ dependency-injection/ LazyProxy/ PhpDumper/ NullDumper.php - Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
File
-
vendor/
symfony/ dependency-injection/ LazyProxy/ PhpDumper/ DumperInterface.php, line 28
Class
- DumperInterface
- Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.
Namespace
Symfony\Component\DependencyInjection\LazyProxy\PhpDumperCode
public function isProxyCandidate(Definition $definition, ?bool &$asGhostObject = null, ?string $id = null) : bool;