class AccessDeniedException extends RuntimeException

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

Methods

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

No description

array
getAttributes()

No description

setAttributes(array|string $attributes)

No description

mixed
getObject()

No description

setObject(mixed $object)

No description

Details

at line line 24
__construct($message = 'Access Denied.', Exception $previous = null)

Parameters

$message
Exception $previous

at line line 32
array getAttributes()

Return Value

array

at line line 40
setAttributes(array|string $attributes)

Parameters

array|string $attributes

at line line 48
mixed getObject()

Return Value

mixed

at line line 56
setObject(mixed $object)

Parameters

mixed $object