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.
-
author
Johannes M.
Schmitt - final
Cloneable
Instantiable
Methods |
public
clear
() Clears all nodes. |
public
connect
(
?
string
$sourceId
,
?
mixed
$sourceValue
,
?
string
$destId
,
?
mixed
$destValue
=
NULL
,
?
Symfony Connects 2 nodes together in the Graph. |
public
getNode
(
string
$id
) :
Symfony Gets a node by identifier.
|
public
getNodes
() :
array
Returns all nodes. |
public hasNode ( string $id ) : bool |
Properties |
private array $nodes |
Methods |
private
createNode
(
string
$id
,
?
mixed
$value
) :
Symfony |