PHP Class BookStack\Http\Middleware\RedirectIfAuthenticated

显示文件 Open project: ssddanbrown/bookstack

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