W3cubDocs

/Symfony 4.1

RoutingResolverPass

class RoutingResolverPass implements CompilerPassInterface

Adds tagged routing.loader services to routing.resolver service.

Traits

PriorityTaggedServiceTrait Trait that allows a generic method to find and sort service by priority option in the tag.

Methods

__construct(string $resolverServiceId = 'routing.resolver', string $loaderTag = 'routing.loader')
process(ContainerBuilder $container)

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

Details

__construct(string $resolverServiceId = 'routing.resolver', string $loaderTag = 'routing.loader')

Parameters

string $resolverServiceId
string $loaderTag

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container