handle()
handle(\Illuminate\Http\Request $request, \Closure $next, null $role = null) : mixed
Handle an incoming request.
Parameters
\Illuminate\Http\Request | $request | |
\Closure | $next | |
null | $role |
Throws
- \Illuminate\Auth\Access\AuthorizationException