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) |
return | string | false | URL translated |