Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CompiledUrlMatcher.php

function CompiledUrlMatcher::__construct

Overrides UrlMatcher::__construct

File

vendor/symfony/routing/Matcher/CompiledUrlMatcher.php, line 26

Class

CompiledUrlMatcher
Matches URLs based on rules dumped by CompiledUrlMatcherDumper.

Namespace

Symfony\Component\Routing\Matcher

Code

public function __construct(array $compiledRoutes, RequestContext $context) {
    $this->context = $context;
    [
        $this->matchHost,
        $this->staticRoutes,
        $this->regexpList,
        $this->dynamicRoutes,
        $this->checkCondition,
    ] = $compiledRoutes;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal