Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
BenConstable
Localize
Determiners
DeterminerInterface
determineLocale
BenConstable\Localize\Determiners\DeterminerInterface::determineLocale PHP Method
DeterminerInterface Interface Documentation
Show file
Open project: benconstable/laravel-localize-middleware
determineLocale()
public
method
Use the given request to determine what the application locale should be.
public
determineLocale
(
Illuminate\Http\Request
$request
) :
string
$request
Illuminate\Http\Request
return
string
Locale name (en, es etc)
public function determineLocale(Request $request);
DeterminerInterface
determineLocale
setFallback