Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line source
<?php namespace Drupal\Core\Routing; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Matcher\RequestMatcherInterface; use Symfony\Component\Routing\RouterInterface; /** * Interface for a router class for Drupal with access check and upcasting. */ interface AccessAwareRouterInterface extends RouterInterface, RequestMatcherInterface { /** * Attribute name of the access result for the request.. */ const ACCESS_RESULT = '_access_result'; /** * {@inheritdoc} * * @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException * Thrown when access checking failed. */ public function matchRequest(Request $request); /** * {@inheritdoc} * * @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException * Thrown when $access_check is enabled and access checking failed. */ public function match($pathinfo); }