class CompiledUrlMatcher
Matches URLs based on rules dumped by CompiledUrlMatcherDumper.
@author Nicolas Grekas <p@tchwork.com>
Hierarchy
- class \Symfony\Component\Routing\Matcher\UrlMatcher implements \Symfony\Component\Routing\Matcher\UrlMatcherInterface, \Symfony\Component\Routing\Matcher\RequestMatcherInterface
- class \Symfony\Component\Routing\Matcher\CompiledUrlMatcher extends \Symfony\Component\Routing\Matcher\UrlMatcher uses \Symfony\Component\Routing\Matcher\Dumper\CompiledUrlMatcherTrait
Expanded class hierarchy of CompiledUrlMatcher
1 file declares its use of CompiledUrlMatcher
- Router.php in vendor/
symfony/ routing/ Router.php
File
-
vendor/
symfony/ routing/ Matcher/ CompiledUrlMatcher.php, line 22
Namespace
Symfony\Component\Routing\MatcherView source
class CompiledUrlMatcher extends UrlMatcher {
use CompiledUrlMatcherTrait;
public function __construct(array $compiledRoutes, RequestContext $context) {
$this->context = $context;
[
$this->matchHost,
$this->staticRoutes,
$this->regexpList,
$this->dynamicRoutes,
$this->checkCondition,
] = $compiledRoutes;
}
}