Copied!

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.

CloneableInstantiable
Methods
public process(Symfony\Component\DependencyInjection\ContainerBuilder $container) : void
 

Checks the ContainerBuilder object for circular references.

Properties
private array $checkedNodes
private array $currentPath
Methods
private checkOutEdges(array $edges) : void
 

Checks for circular references.

  • param \ServiceReferenceGraphEdge[] $edges An array of Edges
  • throws \ServiceCircularReferenceException when a circular reference is found
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration