Represents a node in your service graph.
Value is typically a definition, or an alias.
- author Johannes M.
Schmitt
CloneableInstantiable
Methods |
public __construct(string $id, ?mixed $value) |
public addInEdge(Symfony |
public addOutEdge(Symfony |
public clear() : void Clears all edges. |
public getId() : string Returns the identifier. |
public getInEdges() : array Returns the in edges.
|
public getOutEdges() : array Returns the out edges.
|
public getValue() : ?mixed Returns the value of this Node. |
public isAlias() : bool Checks if the value of this node is an Alias. |
public isDefinition() : bool Checks if the value of this node is a Definition. |
Properties |
private string $id |
private array $inEdges = [] |
private array $outEdges = [] |
private ?mixed $value |