class ServiceReferenceGraph

This is a directed graph of your services.

This information can be used by your compiler passes instead of collecting it themselves which improves performance quite a lot.

@author Johannes M. Schmitt <schmittjoh@gmail.com>

Hierarchy

Expanded class hierarchy of ServiceReferenceGraph

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraph.php, line 24

Namespace

Symfony\Component\DependencyInjection\Compiler
View source

Members

Namesort descending Modifiers Type Description Overrides
ServiceReferenceGraph::$nodes private property
ServiceReferenceGraph::clear public function Clears all nodes.
ServiceReferenceGraph::connect public function Connects 2 nodes together in the Graph.
ServiceReferenceGraph::createNode private function Creates a graph node.
ServiceReferenceGraph::getNode public function Gets a node by identifier.
ServiceReferenceGraph::getNodes public function Returns all nodes.
ServiceReferenceGraph::hasNode public function Checks if the graph has a specific node.
ServiceReferenceGraph::__construct public function Constructor.