protected function setCurlProxyOptions($adapter)
    {
        $adapter->setCurlOption(CURLOPT_PROXY, $this->proxyConfig['proxy_host']);
        if (!empty($this->proxyConfig['proxy_port'])) {
            $adapter
                ->setCurlOption(CURLOPT_PROXYPORT, $this->proxyConfig['proxy_port']);
        }
    }
protected function setCurlProxyOptions($adapter)
    {
        $adapter->setCurlOption(CURLOPT_PROXY, $this->proxyConfig['proxy_host']);
        if (!empty($this->proxyConfig['proxy_port'])) {
            $adapter
                ->setCurlOption(CURLOPT_PROXYPORT, $this->proxyConfig['proxy_port']);
        }
    }
protected function setCurlProxyOptions ( $ adapter ) { $ adapter -> setCurlOption ( CURLOPT_PROXY , $ this -> proxyConfig [ 'proxy_host' ] ) ; if ( ! empty ( $ this -> proxyConfig [ 'proxy_port' ] ) ) { $ adapter -> setCurlOption ( CURLOPT_PROXYPORT , $ this -> proxyConfig [ 'proxy_port' ] ) ; } }
Set proxy options in a Curl adapter.

@param \Zend\Http\Client\Adapter\Curl $adapter Adapter to configure

@return void
Set proxy options in a Curl adapter .