Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Arcanedev
Localization
Contracts
RouteTranslatorInterface
findTranslatedRouteByPath
Arcanedev\Localization\Contracts\RouteTranslatorInterface::findTranslatedRouteByPath PHP 메소드
RouteTranslatorInterface 0 문서
파일 보기
프로젝트 열기: arcanedev/localization
findTranslatedRouteByPath()
공개
메소드
Returns the translated route for the path and the url given.
public
findTranslatedRouteByPath
(
string
$path
,
string
$locale
) :
string
| false
$path
string
- Path to check if it is a translated route
$locale
string
- Language to check if the path exists
리턴
string
| false
public function findTranslatedRouteByPath($path, $locale);
RouteTranslatorInterface
findTranslatedRouteByPath
getCurrentRoute
getRouteNameFromPath
getTranslatedRoute
getTranslatedRoutes
getUrlFromRouteName
hasCurrentRoute
hasTranslation
setCurrentRoute
trans