class CacheableAccessDeniedHttpException
A cacheable AccessDeniedHttpException.
Hierarchy
- class \Symfony\Component\HttpKernel\Exception\HttpException extends \Symfony\Component\HttpKernel\Exception\RuntimeException implements \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
- class \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException
- class \Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException extends \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException implements \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Core\Cache\CacheableDependencyTrait
- class \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException
Expanded class hierarchy of CacheableAccessDeniedHttpException
3 files declare their use of CacheableAccessDeniedHttpException
- AccessAwareRouter.php in core/
lib/ Drupal/ Core/ Routing/ AccessAwareRouter.php - EntityAccessDeniedHttpException.php in core/
modules/ jsonapi/ src/ Exception/ EntityAccessDeniedHttpException.php - FieldResolver.php in core/
modules/ jsonapi/ src/ Context/ FieldResolver.php
File
-
core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableAccessDeniedHttpException.php, line 12
Namespace
Drupal\Core\Http\ExceptionView source
class CacheableAccessDeniedHttpException extends AccessDeniedHttpException implements CacheableDependencyInterface {
use CacheableDependencyTrait;
/**
* {@inheritdoc}
*/
public function __construct(CacheableDependencyInterface $cacheability, $message = '', ?\Exception $previous = NULL, $code = 0) {
$this->setCacheability($cacheability);
parent::__construct($message, $previous, $code);
}
}