PHP Class Laratrust\Middleware\LaratrustRole

Afficher le fichier Open project: santigarcor/laratrust

Protected Properties

Свойство Type Description
$auth

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Auth\Guard $auth ) Creates a new instance of the middleware.
handle ( Illuminate\Http\Request $request, Closure $next, $roles, $group = null, $requireAll = false ) : mixed Handle an incoming request.

Method Details

__construct() public méthode

Creates a new instance of the middleware.
public __construct ( Illuminate\Contracts\Auth\Guard $auth )
$auth Illuminate\Contracts\Auth\Guard

handle() public méthode

Handle an incoming request.
public handle ( Illuminate\Http\Request $request, Closure $next, $roles, $group = null, $requireAll = false ) : mixed
$request Illuminate\Http\Request
$next Closure
$roles
Résultat mixed

Property Details

$auth protected_oe property

protected $auth