public function ChainRouter::matchRequest

Loops through all routes and tries to match the passed request.

Overrides RequestMatcherInterface::matchRequest

File

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

Class

ChainRouter
ChainRouter

Namespace

Symfony\Cmf\Component\Routing

Code

public function matchRequest(Request $request) {
  return $this
    ->doMatch($request
    ->getPathInfo(), $request);
}