You are here

public function Router::match in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::match()

File

core/lib/Drupal/Core/Routing/Router.php, line 113

Class

Router
Router implementation in Drupal.

Namespace

Drupal\Core\Routing

Code

public function match($pathinfo) {
  $request = Request::create($pathinfo);
  return $this
    ->matchRequest($request);
}