PHP Class App\Http\Middleware\WalledGarden

Mostrar archivo Open project: sroutier/laravel-5.1-enterprise-starter-kit

Protected Properties

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

Public Methods

Method Description
__construct ( Illuminate\Contracts\Auth\Guard $auth ) : void 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 ) : void
$auth Illuminate\Contracts\Auth\Guard
return void

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