public function NestedMatcher::__construct

Constructs a new NestedMatcher

Parameters

RouteProviderInterface $provider The Route Provider this matcher should use.:

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/NestedMatcher/NestedMatcher.php, line 60

Class

NestedMatcher
A more flexible approach to matching. The route collection to match against can be dynamically determined based on the request and users can inject their own filters or use a custom final matching strategy.

Namespace

Symfony\Cmf\Component\Routing\NestedMatcher

Code

public function __construct(RouteProviderInterface $provider) {
  $this->routeProvider = $provider;
}