Returns the translation key for a given path
public getRouteNameFromAPath ( string $path ) : string | false | ||
$path | string | Path to get the key translated |
return | string | false | Key for translation, false if not exist |
/** * Returns the translation key for a given path * * @param string $path Path to get the key translated * @return string|false Key for translation, false if not exist * @static */ public static function getRouteNameFromAPath($path) { return \Mcamara\LaravelLocalization\LaravelLocalization::getRouteNameFromAPath($path); }