PHP Class App\Http\Middleware\AuthenticateAdmin

Exibir arquivo Open project: qloog/laravel5-backend

Protected Properties

Property Type Description
$auth Illuminate\Contracts\Auth\Guard The Guard implementation.

Public Methods

Method Description
__construct ( Illuminate\Contracts\Auth\Guard $auth ) Create a new filter instance.
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed Handle an incoming request.

Method Details

__construct() public method

Create a new filter instance.
public __construct ( Illuminate\Contracts\Auth\Guard $auth )
$auth Illuminate\Contracts\Auth\Guard

handle() public method

Handle an incoming request.
public handle ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
return mixed

Property Details

$auth protected_oe property

The Guard implementation.
protected Guard,Illuminate\Contracts\Auth $auth
return Illuminate\Contracts\Auth\Guard