public static getURLFromRouteNameTranslated ( string | boolean $locale, string $transKeyName, array $attributes = [] ) : string | false | ||
$locale | string | boolean | Locale to adapt |
$transKeyName | string | Translation key name of the url to adapt |
$attributes | array | Attributes for the route (only needed if transKeyName needs them) |
Результат | string | false | URL translated |
public static function getURLFromRouteNameTranslated($locale, $transKeyName, $attributes = array())
{
return \Mcamara\LaravelLocalization\LaravelLocalization::getURLFromRouteNameTranslated($locale, $transKeyName, $attributes);
}