public function process(ContainerBuilder $container)
    {
        $graph = $container->getCompiler()->getServiceReferenceGraph();

        $this->checkedNodes = [];
        foreach ($graph->getNodes() as $id => $node) {
            $this->currentPath = [$id];

            $this->checkOutEdges($node->getOutEdges());
        }
    }
public function process(ContainerBuilder $container)
    {
        $graph = $container->getCompiler()->getServiceReferenceGraph();

        $this->checkedNodes = [];
        foreach ($graph->getNodes() as $id => $node) {
            $this->currentPath = [$id];

            $this->checkOutEdges($node->getOutEdges());
        }
    }
public function process ( ContainerBuilder $ container ) { $ graph = $ container -> getCompiler ( ) -> getServiceReferenceGraph ( ) ; $ this -> checkedNodes = [ ] ; foreach ( $ graph -> getNodes ( ) as $ id => $ node ) { $ this -> currentPath = [ $ id ] ; $ this -> checkOutEdges ( $ node -> getOutEdges ( ) ) ; } }
Checks the ContainerBuilder object for circular references.
Checks the ContainerBuilder object for circular references .