ServiceReferenceGraph
ServiceReferenceGraph
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.
Methods
bool | hasNode(string $id) Checks if the graph has a specific node. | |
ServiceReferenceGraphNode | getNode(string $id) Gets a node by identifier. | |
ServiceReferenceGraphNode[] | getNodes() Returns all nodes |