original_string: public static function getLocale()
      {
          static::getDefaultLocale();
          $current = Locale::getDefault();
          if ($current === '') {
              $current = static::DEFAULT_LOCALE;
              Locale::setDefault($current);
          }
  
          return $current;
      }
code: public static function getLocale()
      {
          static::getDefaultLocale();
          $current = Locale::getDefault();
          if ($current === '') {
              $current = static::DEFAULT_LOCALE;
              Locale::setDefault($current);
          }
  
          return $current;
      }
code_tokens: public static function getLocale ( ) { static :: getDefaultLocale ( ) ; $ current = Locale :: getDefault ( ) ; if ( $ current === '' ) { $ current = static :: DEFAULT_LOCALE ; Locale :: setDefault ( $ current ) ; } return $ current ; }
docstring: Will return the currently configure locale as stored in the
  `intl.default_locale` PHP setting.
  
  @return string The name of the default locale.
docstring_tokens: Will return the currently configure locale as stored in the intl . default_locale PHP setting .