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
Arcanedev
Localization
Bases
Middleware
getCurrentLocale
Arcanedev\Localization\Bases\Middleware::getCurrentLocale PHP Method
Middleware Class Documentation
Show file
Open project: arcanedev/localization
getCurrentLocale()
public
method
Get the current locale.
public
getCurrentLocale
( ) :
string
return
string
public function getCurrentLocale() { return localization()->getCurrentLocale(); }
Middleware
getCurrentLocale
getDefaultLocale
getLocalizedRedirect
getSupportedLocales
hideDefaultLocaleInURL
isDefaultLocaleHidden
makeRedirectResponse