Copied!

Represents an edge in your service graph.

Value is typically a reference.

CloneableInstantiable
Methods
public __construct(Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $sourceNode, Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $destNode, ?mixed $value = NULL, bool $lazy = false, bool $weak = false, bool $byConstructor = false)
public getDestNode() : Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode
 

Returns the destination node.

public getSourceNode() : Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode
 

Returns the source node.

public getValue() : ?mixed
 

Returns the value of the edge.

public isLazy() : bool
 

Returns true if the edge is lazy, meaning it's a dependency not requiring direct instantiation.

public isReferencedByConstructor() : bool
 

Returns true if the edge links with a constructor argument.

public isWeak() : bool
 

Returns true if the edge is weak, meaning it shouldn't prevent removing the target service.

Properties
private bool $byConstructor
private Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $destNode
private bool $lazy
private Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $sourceNode
private ?mixed $value
private bool $weak
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration