Method | 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 | |
return | string | Locale name (en, es etc) |
public setFallback ( string $locale ) : BenConstable\Localize\Determiners\DeterminerInterface | ||
$locale | string | |
return | BenConstable\Localize\Determiners\DeterminerInterface |