AnalyzeServiceReferencesPass
class AnalyzeServiceReferencesPass extends AbstractRecursivePass implements RepeatablePassInterface
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.
Properties
protected ContainerBuilder | $container | from AbstractRecursivePass | |
protected | $currentId | from AbstractRecursivePass |
Methods
process(ContainerBuilder $container)
Processes a ContainerBuilder object to populate the service reference graph.
mixed
processValue(mixed $value, bool $isRoot = false)
Processes a value found in a definition tree.
__construct(bool $onlyConstructorArguments = false, bool $hasProxyDumper = true)
No description
Details
process(ContainerBuilder $container)
Processes a ContainerBuilder object to populate the service reference graph.