void __construct(Container $container, callable
HandlesAuthorization trait HandlesAuthorization (
bool denies(string $ability, array|mixed $arguments = array()) Determine
string __toString() Get the string representation of the message.
AuthorizationException class AuthorizationException extends
$this before(callable $callback) Register a callback to run before all
bool allows(string $ability, array|mixed $arguments = array()) Determine
string|null message() Get the response message.
Response class Response (
$this policy(string $class, string $policy) Define a policy class for a
Page 2 of 3