src/Uri.php
protected function setHost($host)
    {
        $this->uriString = null;

        $this->host = (string) $host;

        return $this;
    }
protected function setHost($host)
    {
        $this->uriString = null;

        $this->host = (string) $host;

        return $this;
    }
protected function setHost ( $ host ) { $ this -> uriString = null ; $ this -> host = ( string ) $ host ; return $ this ; }
Sets the provided host to current instance.

@param string $host The hostname

@return Uri The current instance with the provided host
Sets the provided host to current instance .