Méthode | Description | |
---|---|---|
determineLocale ( Illuminate\Http\Request $request ) : string | Use the given request to determine what the application locale should be. | |
setFallback ( string $locale ) : BenConstable\Localize\Determiners\DeterminerInterface | Set the fallback locale for this determiner. |
public determineLocale ( Illuminate\Http\Request $request ) : string | ||
$request | Illuminate\Http\Request | |
Résultat | string | Locale name (en, es etc) |
public setFallback ( string $locale ) : BenConstable\Localize\Determiners\DeterminerInterface | ||
$locale | string | |
Résultat | BenConstable\Localize\Determiners\DeterminerInterface |