src/Gateways/Alipay/Support.php
protected function setHttpOptions(): self
    {
        if ($this->config->has('http') && is_array($this->config->get('http'))) {
            $this->config->forget('http.base_uri');
            $this->httpOptions = $this->config->get('http');
        }

        return $this;
    }
protected function setHttpOptions(): self
    {
        if ($this->config->has('http') && is_array($this->config->get('http'))) {
            $this->config->forget('http.base_uri');
            $this->httpOptions = $this->config->get('http');
        }

        return $this;
    }
protected function setHttpOptions ( ) : self { if ( $ this -> config -> has ( 'http' ) && is_array ( $ this -> config -> get ( 'http' ) ) ) { $ this -> config -> forget ( 'http.base_uri' ) ; $ this -> httpOptions = $ this -> config -> get ( 'http' ) ; } return $ this ; }
Set Http options.

@author yansongda <me@yansongda.cn>

@return self
Set Http options .