function Router::match

File

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

Class

Router
Router implementation in Drupal.

Namespace

Drupal\Core\Routing

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.