original_string: private function getHostname()
      {
          $host = parse_url($this->config->get('psx_url'), PHP_URL_HOST);
          if (empty($host)) {
              $host = $_SERVER['SERVER_NAME'];
          }
  
          return $host;
      }
code: private function getHostname()
      {
          $host = parse_url($this->config->get('psx_url'), PHP_URL_HOST);
          if (empty($host)) {
              $host = $_SERVER['SERVER_NAME'];
          }
  
          return $host;
      }
code_tokens: private function getHostname ( ) { $ host = parse_url ( $ this -> config -> get ( 'psx_url' ) , PHP_URL_HOST ) ; if ( empty ( $ host ) ) { $ host = $ _SERVER [ 'SERVER_NAME' ] ; } return $ host ; }
docstring: Tries to determine the current hostname
  
  @return string
docstring_tokens: Tries to determine the current hostname