original_string: public function getPazpar2BaseURL()
      {
          $URL = 'http://' . GeneralUtility::getIndpEnv('HTTP_HOST') . $this->getPazpar2Path();
          if ($this->pazpar2BaseURL) {
              $URL = $this->pazpar2BaseURL;
          }
          return $URL;
      }
code: public function getPazpar2BaseURL()
      {
          $URL = 'http://' . GeneralUtility::getIndpEnv('HTTP_HOST') . $this->getPazpar2Path();
          if ($this->pazpar2BaseURL) {
              $URL = $this->pazpar2BaseURL;
          }
          return $URL;
      }
code_tokens: public function getPazpar2BaseURL ( ) { $ URL = 'http://' . GeneralUtility :: getIndpEnv ( 'HTTP_HOST' ) . $ this -> getPazpar2Path ( ) ; if ( $ this -> pazpar2BaseURL ) { $ URL = $ this -> pazpar2BaseURL ; } return $ URL ; }
docstring: Return URL of pazpar2 service.
  If it is not set, return default URL on localhost.
  
  @return string
docstring_tokens: Return URL of pazpar2 service . If it is not set return default URL on localhost .