PHP Class App\Http\Middleware\CheckUserBanStatus

Show file Open project: ppy/osu-web

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 property

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