W3cubDocs

/Symfony 4.1

RemoveEmptyControllerArgumentLocatorsPass

class RemoveEmptyControllerArgumentLocatorsPass implements CompilerPassInterface

Removes empty service-locators registered for ServiceValueResolver.

Methods

__construct(string $controllerLocator = 'argument_resolver.controller_locator')
process(ContainerBuilder $container)

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

Details

__construct(string $controllerLocator = 'argument_resolver.controller_locator')

Parameters

string $controllerLocator

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container