Copied!

Represents a node in your service graph.

Value is typically a definition, or an alias.

CloneableInstantiable
Methods
public __construct(string $id, ?mixed $value)
public addInEdge(Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge $edge) : void
public addOutEdge(Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge $edge) : void
public clear() : void
 

Clears all edges.

public getId() : string
 

Returns the identifier.

public getInEdges() : array
 

Returns the in edges.

  • return \ServiceReferenceGraphEdge[]
public getOutEdges() : array
 

Returns the out edges.

  • return \ServiceReferenceGraphEdge[]
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
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration