W3cubDocs

/Symfony 4.1

RegisterControllerArgumentLocatorsPass

class RegisterControllerArgumentLocatorsPass implements CompilerPassInterface

Creates the service-locators required by ServiceValueResolver.

Methods

__construct(string $resolverServiceId = 'argument_resolver.service', string $controllerTag = 'controller.service_arguments', 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 $resolverServiceId = 'argument_resolver.service', string $controllerTag = 'controller.service_arguments', string $controllerLocator = 'argument_resolver.controller_locator')

Parameters

string $resolverServiceId
string $controllerTag
string $controllerLocator

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container