You are here

public function AccessAwareRouter::match in Zircon Profile 8

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

Throws

\Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when access checking failed.

Overrides AccessAwareRouterInterface::match

File

core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 137
Contains \Drupal\Core\Routing\AccessAwareRouter.

Class

AccessAwareRouter
A router class for Drupal with access check and upcasting.

Namespace

Drupal\Core\Routing

Code

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