class ServiceReferenceGraphNode
Represents a node in your service graph.
Value is typically a definition, or an alias.
__construct(string $id, mixed $value) | ||
addInEdge(ServiceReferenceGraphEdge $edge) | ||
addOutEdge(ServiceReferenceGraphEdge $edge) | ||
bool | isAlias() Checks if the value of this node is an Alias. | |
bool | isDefinition() Checks if the value of this node is a Definition. | |
string | getId() Returns the identifier. | |
array | getInEdges() Returns the in edges. | |
array | getOutEdges() Returns the out edges. | |
mixed | getValue() Returns the value of this Node. | |
clear() Clears all edges. |
string | $id | The node identifier |
mixed | $value | The node value |
ServiceReferenceGraphEdge | $edge |
ServiceReferenceGraphEdge | $edge |
Checks if the value of this node is an Alias.
bool | True if the value is an Alias instance |
Checks if the value of this node is a Definition.
bool | True if the value is a Definition instance |
Returns the identifier.
string |
Returns the in edges.
array | The in ServiceReferenceGraphEdge array |
Returns the out edges.
array | The out ServiceReferenceGraphEdge array |
Returns the value of this Node.
mixed | The value |
Clears all edges.
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.html