public function UrlMatcher::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/routing/Matcher/UrlMatcher.php \Symfony\Component\Routing\Matcher\UrlMatcher::__construct()
- 8 core/lib/Drupal/Core/Routing/UrlMatcher.php \Drupal\Core\Routing\UrlMatcher::__construct()
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Matcher/UrlMatcher.php \Symfony\Component\Routing\Matcher\UrlMatcher::__construct()
Constructor.
Parameters
RouteCollection $routes A RouteCollection instance:
RequestContext $context The context:
4 methods override UrlMatcher::__construct()
- ProjectUrlMatcher::__construct in vendor/
symfony/ routing/ Tests/ Fixtures/ dumper/ url_matcher1.php - Constructor.
- ProjectUrlMatcher::__construct in vendor/
symfony/ routing/ Tests/ Fixtures/ dumper/ url_matcher3.php - Constructor.
- ProjectUrlMatcher::__construct in vendor/
symfony/ routing/ Tests/ Fixtures/ dumper/ url_matcher2.php - Constructor.
- UrlMatcher::__construct in core/
lib/ Drupal/ Core/ Routing/ UrlMatcher.php - Constructs a new UrlMatcher.
File
- vendor/
symfony/ routing/ Matcher/ UrlMatcher.php, line 63
Class
- UrlMatcher
- UrlMatcher matches URL based on a set of routes.
Namespace
Symfony\Component\Routing\MatcherCode
public function __construct(RouteCollection $routes, RequestContext $context) {
$this->routes = $routes;
$this->context = $context;
}