Symfony\Component\DependencyInjection\Compiler\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>
Synopsis
class CheckCircularReferencesPass
implements
CompilerPassInterface
{
- // members
- private $currentId;
- private $currentPath;
- // methods
- public void process()
- private void checkOutEdges()
Hierarchy
Members
private
- $currentId
- $currentPath
Methods
private
- checkOutEdges() — Checks for circular references.
public
- process() — Checks the ContainerBuilder object for circular references.