public function https($useHTTPS = true)
    {
        if ($useHTTPS) {
            $this->https = true;
        } else {
            $this->https = false;
        }

        return $this;
    }
public function https($useHTTPS = true)
    {
        if ($useHTTPS) {
            $this->https = true;
        } else {
            $this->https = false;
        }

        return $this;
    }
public function https ( $ useHTTPS = true ) { if ( $ useHTTPS ) { $ this -> https = true ; } else { $ this -> https = false ; } return $ this ; }
Set HTTPS
Choose whether to use HTTPs or HTTP.

@param bool $useHTTPS

@return $this
Set HTTPS Choose whether to use HTTPs or HTTP .