original_string: public function getUrlForHost($host)
      {
          $newUrl = clone $this;
          $newUrl->_fragments['host'] = $host;
          $newUrl->_inputString = $newUrl->__toString();
  
          return $newUrl;
      }
code: public function getUrlForHost($host)
      {
          $newUrl = clone $this;
          $newUrl->_fragments['host'] = $host;
          $newUrl->_inputString = $newUrl->__toString();
  
          return $newUrl;
      }
code_tokens: public function getUrlForHost ( $ host ) { $ newUrl = clone $ this ; $ newUrl -> _fragments [ 'host' ] = $ host ; $ newUrl -> _inputString = $ newUrl -> __toString ( ) ; return $ newUrl ; }
docstring: Builds a URL with a different host
  @return Url
docstring_tokens: Builds a URL with a different host