\Dvivier\Smarticops\Http\MiddlewareSmarticopsAdministrator

This middleware will check if the logged user is an administrator and return an error if not

Summary

Methods
Properties
Constants
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

handle()

handle(\Illuminate\Http\Request  $request, \Closure  $next) : mixed

Handle an incoming request.

Parameters

\Illuminate\Http\Request $request
\Closure $next

Returns

mixed