PHP Class BenConstable\Localize\Http\Middleware\Localize

Mostra file Open project: benconstable/laravel-localize-middleware

Public Methods

Method Description
__construct ( Illuminate\Foundation\Application $app, DeterminerManager $determinerManager ) : void Constructor.
handle ( Illuminate\Http\Request $request, Closure $next, string | null $guard = null ) : mixed Handle an incoming request.

Method Details

__construct() public method

Constructor.
public __construct ( Illuminate\Foundation\Application $app, DeterminerManager $determinerManager ) : void
$app Illuminate\Foundation\Application
$determinerManager BenConstable\Localize\DeterminerManager
return void

handle() public method

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