PHP Class BenConstable\Localize\Http\Middleware\Localize

Afficher le fichier Open project: benconstable/laravel-localize-middleware

Méthodes publiques

Méthode 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 méthode

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

handle() public méthode

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
Résultat mixed