AutowireRequiredMethodsPass

class AutowireRequiredMethodsPass extends AbstractRecursivePass

Looks for definitions with autowiring enabled and registers their corresponding "@required" methods as setters.

Methods

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

from AbstractRecursivePass

Details

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container