PHP Class BenConstable\Localize\Determiners\Stack

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

Méthodes publiques

Méthode Description
__construct ( Collection $determiners ) : void Constructor.
determineLocale ( Illuminate\Http\Request $request ) : string | null Determine the locale from the underlying determiner stack.
getDeterminers ( ) : Collection Get the underlying determiner stack.

Method Details

__construct() public méthode

Constructor.
public __construct ( Collection $determiners ) : void
$determiners Illuminate\Support\Collection
Résultat void

determineLocale() public méthode

Determine the locale from the underlying determiner stack.
public determineLocale ( Illuminate\Http\Request $request ) : string | null
$request Illuminate\Http\Request
Résultat string | null

getDeterminers() public méthode

Get the underlying determiner stack.
public getDeterminers ( ) : Collection
Résultat Illuminate\Support\Collection