/** * Set and return current locale * * @param string $locale Locale to set the App to (optional) * @return string Returns locale (if route has any) or null (if route does not have a locale) * @static */ public static function setLocale($locale = null) { return \Mcamara\LaravelLocalization\LaravelLocalization::setLocale($locale); }