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