Arcanedev\Localization\Contracts\RouteTranslatorInterface::findTranslatedRouteByPath PHP 메소드

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);