AccessDeniedException

AccessDeniedException

class AccessDeniedException extends RuntimeException

AccessDeniedException is thrown when the account has not the required role.

Methods

__construct($message = 'Access Denied.', Exception $previous = null)
array getAttributes()
setAttributes(array|string $attributes)
mixed getSubject()