function Router::match
File
-
core/
lib/ Drupal/ Core/ Routing/ Router.php, line 97
Class
- Router
- Router implementation in Drupal.
Namespace
Drupal\Core\RoutingCode
public function match($pathinfo) : array {
try {
$request = Request::create($pathinfo);
} catch (BadRequestException $e) {
throw new ResourceNotFoundException($e->getMessage(), $e->getCode(), $e);
}
return $this->matchRequest($request);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.