Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Arcanedev
Localization
Localization
transRoute
Arcanedev\Localization\Localization::transRoute PHP Метод
Документация по классу Localization
Показать файл
Открыть проект
transRoute()
публичный
Метод
Translate routes and save them to the translated routes array (used in the localize route filter).
public
transRoute
(
string
$routeName
) :
string
$routeName
string
Результат
string
public function transRoute($routeName) { return $this->routeTranslator->trans($routeName); }
Localization
__construct
createUrlFromUri
findTranslatedRouteByUrl
getAllLocales
getCurrentLocale
getCurrentLocaleDirection
getCurrentLocaleEntity
getCurrentLocaleName
getCurrentLocaleNative
getCurrentLocaleRegional
getCurrentLocaleScript
getDefaultLocale
getLocalizedURL
getNonLocalizedURL
getSupportedLocales
getSupportedLocalesKeys
getUrlFromRouteName
isDefaultLocaleHiddenInUrl
isLocaleSupported
isLocaleSupportedOrFail
localesNavbar
localizeURL
request
setBaseUrl
setLocale
setRouteNameFromRequest
setSupportedLocales
transRoute