public function AccessAwareRouter8b7c:f320:99b9:690f:4595:cd17:293a:c069matchRequest public AccessAwareRouter8b7c:f320:99b9:690f:4595:cd17:293a:c069matchRequest(Request $request) Throws  \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when access checking failed. Overrides AccessAwareRouterInter8b7c:f320:99b9:690f:4595:cd17:293a:c069matchRequest File
 core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 83  Class
 
AccessAwareRouter  A router class for Drupal with access check and upcasting.  Namespace Drupal\Core\Routing Code public function matchRequest(Request $request) {
  $parameters = $this->chainRouter->matchRequest($request);
  $request->attributes->add($parameters);
  $this->checkAccess($request);
  // We can not return $parameters because the access check can change the
  // request attributes.
  return $request->attributes->all();
}


    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-routing-accessawarerouter.php/function/accessawarerouter-matchrequest/8.1.x.html', 'source': 'DevDocs.IO'}