class AccessDeniedHttpException in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Exception/AccessDeniedHttpException.php \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
AccessDeniedHttpException.
@author Fabien Potencier <fabien@symfony.com> @author Christophe Coevoet <stof@notk.org>
Hierarchy
- class \Symfony\Component\HttpKernel\Exception\HttpException extends \Symfony\Component\HttpKernel\Exception\RuntimeException implements HttpExceptionInterface
- class \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
Expanded class hierarchy of AccessDeniedHttpException
25 files declare their use of AccessDeniedHttpException
- AccessAwareRouter.php in core/
lib/ Drupal/ Core/ Routing/ AccessAwareRouter.php - Contains \Drupal\Core\Routing\AccessAwareRouter.
- AccessDeniedSubscriber.php in core/
modules/ user/ src/ EventSubscriber/ AccessDeniedSubscriber.php - Contains \Drupal\user\EventSubscriber\AccessDeniedSubscriber.
- AuthenticationSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ AuthenticationSubscriber.php - Contains \Drupal\Core\EventSubscriber\AuthenticationSubscriber.
- BatchController.php in core/
modules/ system/ src/ Controller/ BatchController.php - Contains \Drupal\system\Controller\BatchController.
- CommentController.php in core/
modules/ comment/ src/ Controller/ CommentController.php - Contains \Drupal\comment\Controller\CommentController.
File
- vendor/
symfony/ http-kernel/ Exception/ AccessDeniedHttpException.php, line 20
Namespace
Symfony\Component\HttpKernel\ExceptionView source
class AccessDeniedHttpException extends HttpException {
/**
* Constructor.
*
* @param string $message The internal exception message
* @param \Exception $previous The previous exception
* @param int $code The internal exception code
*/
public function __construct($message = null, \Exception $previous = null, $code = 0) {
parent::__construct(403, $message, $previous, array(), $code);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AccessDeniedHttpException:: |
public | function |
Constructor. Overrides HttpException:: |
|
HttpException:: |
private | property | ||
HttpException:: |
private | property | ||
HttpException:: |
public | function |
Returns response headers. Overrides HttpExceptionInterface:: |
|
HttpException:: |
public | function |
Returns the status code. Overrides HttpExceptionInterface:: |