Authorize (Auth\Middleware)
Authorize
class Authorize (View source)
Methods
void | __construct(Factory $auth, Gate $gate) Create a new middleware instance. | |
mixed | handle(Request $request, Closure $next, string $ability, array|null $models) Handle an incoming request. |
Details
mixed handle(Request $request, Closure $next, string $ability, array|null $models)
Handle an incoming request.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Auth/Middleware/Authorize.html