Compiler\CheckCircularReferencesPass (Component\DependencyInjection)
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass
class CheckCircularReferencesPass implements CompilerPassInterface
Checks your services for circular references.
References from method calls are ignored since we might be able to resolve these references depending on the order in which services are called.
Circular reference from method calls will only be detected at run-time.
Methods
process(ContainerBuilder $container) Checks the ContainerBuilder object for circular references. |
Details
public process(ContainerBuilder $container)
Checks the ContainerBuilder object for circular references.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/DependencyInjection/Compiler/CheckCircularReferencesPass.html