AutowireRequiredMethodsPass
class AutowireRequiredMethodsPass extends AbstractRecursivePass
Looks for definitions with autowiring enabled and registers their corresponding "@required" methods as setters.
Properties
protected ContainerBuilder | $container | from AbstractRecursivePass | |
protected | $currentId | from AbstractRecursivePass |
Methods
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
mixed
processValue(mixed $value, bool $isRoot = false)
Processes a value found in a definition tree.
Details
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.