ServiceReferenceGraphNode
in package
Represents a node in your service graph.
Value is typically a definition, or an alias.
Tags
Table of Contents
- $id : mixed
- $inEdges : mixed
- $outEdges : mixed
- $value : mixed
- __construct() : mixed
- addInEdge() : mixed
- addOutEdge() : mixed
- clear() : mixed
- Clears all edges.
- getId() : string
- Returns the identifier.
- getInEdges() : array<string|int, ServiceReferenceGraphEdge>
- Returns the in edges.
- getOutEdges() : array<string|int, ServiceReferenceGraphEdge>
- Returns the out edges.
- getValue() : mixed
- Returns the value of this Node.
- isAlias() : bool
- Checks if the value of this node is an Alias.
- isDefinition() : bool
- Checks if the value of this node is a Definition.
Properties
$id
private
mixed
$id
$inEdges
private
mixed
$inEdges
= []
$outEdges
private
mixed
$outEdges
= []
$value
private
mixed
$value
Methods
__construct()
public
__construct(string $id, mixed $value) : mixed
Parameters
- $id : string
-
The node identifier
- $value : mixed
-
The node value
Return values
mixed —addInEdge()
public
addInEdge(ServiceReferenceGraphEdge $edge) : mixed
Parameters
- $edge : ServiceReferenceGraphEdge
Return values
mixed —addOutEdge()
public
addOutEdge(ServiceReferenceGraphEdge $edge) : mixed
Parameters
- $edge : ServiceReferenceGraphEdge
Return values
mixed —clear()
Clears all edges.
public
clear() : mixed
Return values
mixed —getId()
Returns the identifier.
public
getId() : string
Return values
string —getInEdges()
Returns the in edges.
public
getInEdges() : array<string|int, ServiceReferenceGraphEdge>
Return values
array<string|int, ServiceReferenceGraphEdge> —getOutEdges()
Returns the out edges.
public
getOutEdges() : array<string|int, ServiceReferenceGraphEdge>
Return values
array<string|int, ServiceReferenceGraphEdge> —getValue()
Returns the value of this Node.
public
getValue() : mixed
Return values
mixed —isAlias()
Checks if the value of this node is an Alias.
public
isAlias() : bool
Return values
bool —isDefinition()
Checks if the value of this node is a Definition.
public
isDefinition() : bool