class
Illuminate
/
Auth
/
Middleware
/
Authorize
You are viewing an older version of the documentation. For the latest, please visit master documentation.
Authorize
Properties
Methods
public
handle ( $request , Closure $next , $ability , $models ) : mixed
Handle an incoming request.
Parameters
protected
getGateArguments ( $request , $models ) : Model |array|string
Get the arguments parameter for the gate.
Parameters
- $request Request
- $models array|null
protected
getModel ( $request , $model ) : Model |string
Get the model to authorize.
Parameters
- $request Request
- $model string
protected
isClassName ( $value ) : bool
Checks if the given string looks like a fully qualified class name.
Parameters
- $value string