function AccessAwareRouterInterface::matchRequest

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php \Drupal\Core\Routing\AccessAwareRouterInterface::matchRequest()
  2. 8.9.x core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php \Drupal\Core\Routing\AccessAwareRouterInterface::matchRequest()
  3. 10 core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php \Drupal\Core\Routing\AccessAwareRouterInterface::matchRequest()

Throws

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

1 method overrides AccessAwareRouterInterface::matchRequest()
AccessAwareRouter::matchRequest in core/lib/Drupal/Core/Routing/AccessAwareRouter.php

File

core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php, line 25

Class

AccessAwareRouterInterface
Interface for a router class for Drupal with access check and upcasting.

Namespace

Drupal\Core\Routing

Code

public function matchRequest(Request $request) : array;

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