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
Methods
Details
Processes a ContainerBuilder object to populate the service reference graph.
Parameters
protected mixed
processValue(mixed $value, bool $isRoot = false)
Processes a value found in a definition tree.
Parameters
mixed | $value | |
bool | $isRoot | |
Return Value
mixed | The processed value |
Parameters
Return Value
Exceptions
Parameters
Return Value
Exceptions
__construct(bool $onlyConstructorArguments = false, bool $hasProxyDumper = true)
Parameters
bool | $onlyConstructorArguments | |
bool | $hasProxyDumper | |
setRepeatedPass(RepeatedPass $repeatedPass)
Parameters