class AccessDeniedException extends RuntimeException

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

Methods

__construct(string $message = 'Access Denied.', Exception $previous = null)

No description

array
getAttributes()

No description

setAttributes(array|string $attributes)

No description

mixed
getSubject()

No description

setSubject(mixed $subject)

No description

Details

__construct(string $message = 'Access Denied.', Exception $previous = null)

Parameters

string $message
Exception $previous

array getAttributes()

Return Value

array

setAttributes(array|string $attributes)

Parameters

array|string $attributes

mixed getSubject()

Return Value

mixed

setSubject(mixed $subject)

Parameters

mixed $subject