LaravelLocalization::localizeURL PHP 메소드

localizeURL() 공개 정적인 메소드

Returns an URL adapted to $locale or current locale
public static localizeURL ( string $url = null, string | boolean $locale = null ) : string
$url string URL to adapt. If not passed, the current url would be taken.
$locale string | boolean Locale to adapt, false to remove locale
리턴 string URL translated
        public static function localizeURL($url = null, $locale = null)
        {
            return \Mcamara\LaravelLocalization\LaravelLocalization::localizeURL($url, $locale);
        }