ServiceReferenceGraphNode
class ServiceReferenceGraphNode
Represents a node in your service graph.
Value is typically a definition, or an alias.
Methods
__construct(string $id, mixed $value)
Constructor.
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
at line line 37
__construct(string $id, mixed $value)
Constructor.
at line line 48
addInEdge(ServiceReferenceGraphEdge $edge)
Adds an in edge to this node.
at line line 58
addOutEdge(ServiceReferenceGraphEdge $edge)
Adds an out edge to this node.
at line line 68
bool
isAlias()
Checks if the value of this node is an Alias.
at line line 78
bool
isDefinition()
Checks if the value of this node is a Definition.
at line line 88
string
getId()
Returns the identifier.
at line line 98
array
getInEdges()
Returns the in edges.
at line line 108
array
getOutEdges()
Returns the out edges.
at line line 118
mixed
getValue()
Returns the value of this Node.