original_string: public function getServerLocales() {
          if(!isset($this->serverLocales)) {
              $this->serverLocales = new LocaleCollection();
              foreach($this->supportedLocaleStrings as $server) {
                  try {
                      $locale = new Locale($server);
                      $this->serverLocales->addLocale( $locale );
                  } catch(\Exception $e) {
                      trigger_error($e->getMessage(), E_USER_NOTICE);
                  }
              }
          }
          return $this->serverLocales->getLocales();
      }
code: public function getServerLocales() {
          if(!isset($this->serverLocales)) {
              $this->serverLocales = new LocaleCollection();
              foreach($this->supportedLocaleStrings as $server) {
                  try {
                      $locale = new Locale($server);
                      $this->serverLocales->addLocale( $locale );
                  } catch(\Exception $e) {
                      trigger_error($e->getMessage(), E_USER_NOTICE);
                  }
              }
          }
          return $this->serverLocales->getLocales();
      }
code_tokens: public function getServerLocales ( ) { if ( ! isset ( $ this -> serverLocales ) ) { $ this -> serverLocales = new LocaleCollection ( ) ; foreach ( $ this -> supportedLocaleStrings as $ server ) { try { $ locale = new Locale ( $ server ) ; $ this -> serverLocales -> addLocale ( $ locale ) ; } catch ( \ Exception $ e ) { trigger_error ( $ e -> getMessage ( ) , E_USER_NOTICE ) ; } } } return $ this -> serverLocales -> getLocales ( ) ; }
docstring: Returns all possible locales the server can deliver the render result
  @return array
docstring_tokens: Returns all possible locales the server can deliver the render result