PHP Class Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass

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 ([email protected])
Inheritance: implements Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
Show file Open project: symfony/symfony

Public Methods

Method Description
process ( ContainerBuilder $container ) Checks the ContainerBuilder object for circular references.

Private Methods

Method Description
checkOutEdges ( array $edges ) Checks for circular references.

Method Details

process() public method

Checks the ContainerBuilder object for circular references.
public process ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder The ContainerBuilder instances