trait
HandlesAuthorization (View source)
Methods
allow(string|null $message = null, mixed $code = null)
Create a new access response.
deny(string|null $message = null, mixed|null $code = null)
Throws an unauthorized exception.
Details
protected Response
allow(string|null $message = null, mixed $code = null)
Create a new access response.
protected Response
deny(string|null $message = null, mixed|null $code = null)
Throws an unauthorized exception.