class
Illuminate
/
Auth
/
Access
/
AuthorizationException
You are viewing an older version of the documentation. For the latest, please visit master documentation.
AuthorizationException
Extends
Properties
Methods
public
__construct ( $message , $code , Throwable $previous ) : void
Create a new authorization exception instance.
Parameters
- $message string|null
- $code mixed
- $previous Throwable |null
public
setResponse ( $response ) : $this
Set the response from the gate.
Parameters
- $response Response