You are here

public function RegisterRouteEnhancersPass::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/DependencyInjection/Compiler/RegisterRouteEnhancersPass.php \Symfony\Cmf\Component\Routing\DependencyInjection\Compiler\RegisterRouteEnhancersPass::__construct()

File

vendor/symfony-cmf/routing/DependencyInjection/Compiler/RegisterRouteEnhancersPass.php, line 34

Class

RegisterRouteEnhancersPass
This compiler pass adds additional route enhancers to the dynamic router.

Namespace

Symfony\Cmf\Component\Routing\DependencyInjection\Compiler

Code

public function __construct($dynamicRouterService = 'cmf_routing.dynamic_router', $enhancerTag = 'dynamic_router_route_enhancer') {
  $this->dynamicRouterService = $dynamicRouterService;
  $this->enhancerTag = $enhancerTag;
}