class ServiceReferenceGraphNode
Represents a node in your service graph.
Value is typically a definition, or an alias.
Methods
| __construct(string $id, mixed $value) | ||
| addInEdge(ServiceReferenceGraphEdge $edge) Adds an in edge to this node. | ||
| addOutEdge(ServiceReferenceGraphEdge $edge) Adds an out edge to this node. | ||
| 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. |
Details
__construct(string $id, mixed $value)
addInEdge(ServiceReferenceGraphEdge $edge)
Adds an in edge to this node.
addOutEdge(ServiceReferenceGraphEdge $edge)
Adds an out edge to this node.
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.
Please login to continue.