public function ChainRouter::match

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

Note: You should use matchRequest if you can.

Overrides UrlMatcherInterface::match

File

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

Class

ChainRouter
ChainRouter

Namespace

Symfony\Cmf\Component\Routing

Code

public function match($url) {
  return $this
    ->doMatch($url);
}