original_string: public static function setAppFallbackLocale()
      {
          if (Session::has('fallback_locale')) {
              Lang::setFallback(Session::get('fallback_locale'));
          }
          elseif (
              ($user = BackendAuth::getUser()) &&
              ($locale = static::get('fallback_locale'))
          ) {
              Session::put('fallback_locale', $locale);
              Lang::setFallback($locale);
          }
      }
code: public static function setAppFallbackLocale()
      {
          if (Session::has('fallback_locale')) {
              Lang::setFallback(Session::get('fallback_locale'));
          }
          elseif (
              ($user = BackendAuth::getUser()) &&
              ($locale = static::get('fallback_locale'))
          ) {
              Session::put('fallback_locale', $locale);
              Lang::setFallback($locale);
          }
      }
code_tokens: public static function setAppFallbackLocale ( ) { if ( Session :: has ( 'fallback_locale' ) ) { Lang :: setFallback ( Session :: get ( 'fallback_locale' ) ) ; } elseif ( ( $ user = BackendAuth :: getUser ( ) ) && ( $ locale = static :: get ( 'fallback_locale' ) ) ) { Session :: put ( 'fallback_locale' , $ locale ) ; Lang :: setFallback ( $ locale ) ; } }
docstring: Same as setAppLocale except for the fallback definition.
  @return void
docstring_tokens: Same as setAppLocale except for the fallback definition .