class CheckCircularReferencesPass

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.

@author Johannes M. Schmitt <schmittjoh@gmail.com>

Hierarchy

Expanded class hierarchy of CheckCircularReferencesPass

1 file declares its use of CheckCircularReferencesPass

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/CheckCircularReferencesPass.php, line 27

Namespace

Symfony\Component\DependencyInjection\Compiler
View source

Members

Namesort descending Modifiers Type Description Overrides
CheckCircularReferencesPass::$currentId private property
CheckCircularReferencesPass::$currentPath private property
CheckCircularReferencesPass::checkOutEdges private function Checks for circular references.
CheckCircularReferencesPass::process public function Checks the ContainerBuilder object for circular references. Overrides CompilerPassInterface::process