Symfony\Component\DependencyInjection\Compiler\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>
Synopsis
class ServiceReferenceGraph
{
- // members
- private array $nodes;
- // methods
- public void __construct()
- public Boolean hasNode()
- public ServiceReferenceGraphNode getNode()
- public array getNodes()
- public void clear()
- public void connect()
- private ServiceReferenceGraphNode createNode()
Members
private
- $nodes — array
Methods
private
- createNode() — Creates a graph node.
public
- __construct() — Constructor.
- clear() — Clears all nodes.
- connect() — Connects 2 nodes together in the Graph.
- getNode() — Gets a node by identifier.
- getNodes() — Returns all nodes.
- hasNode() — Checks if the graph has a specific node.