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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Routing/DependencyInjection/RoutingResolverPass.html