Copied!

This is a directed graph of your services.

This information can be used by your compiler passes instead of collecting
it themselves which improves performance quite a lot.

Cloneable Instantiable
Methods
public clear ()
 

Clears all nodes.

public connect ( ? string $sourceId , ? mixed $sourceValue , ? string $destId , ? mixed $destValue = NULL , ? Symfony\Component\DependencyInjection\Reference $reference = NULL , bool $lazy = false , bool $weak = false , bool $byConstructor = false )
 

Connects 2 nodes together in the Graph.

public getNode ( string $id ) : Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode
 

Gets a node by identifier.

  • throws InvalidArgumentException if no node matches the supplied identifier
public getNodes () : array
public hasNode ( string $id ) : bool
Properties
private array $nodes
Methods
private createNode ( string $id , ? mixed $value ) : Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration