Run this pass before passes that need to know more about the relation of your services.
This class will populate the ServiceReferenceGraph with information. You can retrieve the graph in other passes from the compiler.
- author Johannes M.
Schmitt - author Nicolas Grekas
CloneableInstantiable
Methods |
public __construct(bool $onlyConstructorArguments = false, bool $hasProxyDumper = true)
|
public process(Symfony Processes a ContainerBuilder object to populate the service reference graph. |
Properties |
protected bool $skipScalars = true |
Methods |
protected processValue(?mixed $value, bool $isRoot = false) : ?mixed |
Properties |
private array $aliases |
private bool $byConstructor |
private bool $byFactory |
private ?Symfony |
private array $definitions |
private Symfony |
private bool $hasProxyDumper |
private bool $lazy |
private bool $onlyConstructorArguments |
Methods |
private getDefinitionId(string $id) : ?string |