Represents a node in your service graph.
Value is typically a definition, or an alias.
| Methods | ||
|---|---|---|
public
|
__construct(string $id, mixed $value)
|
# |
public
|
addInEdge(ServiceReferenceGraphEdge $edge): void
|
# |
public
|
addOutEdge(ServiceReferenceGraphEdge $edge): void
|
# |
public
|
isAlias(): bool
|
# |
public
|
isDefinition(): bool
|
# |
public
|
getId(): string
|
# |
public
|
getInEdges(): ServiceReferenceGraphEdge[]
|
# |
public
|
getOutEdges(): ServiceReferenceGraphEdge[]
|
# |
public
|
getValue(): mixed
|
# |
public
|
clear(): void
|
# |
| Properties | |||
|---|---|---|---|
private
|
string
|
$id
|
# |
private
|
array
|
$inEdges = []
|
# |
private
|
array
|
$outEdges = []
|
# |
private
|
mixed
|
$value
|
# |