src/Http/Client/AbstractCurl.php
protected function createHandle()
    {
        $curl = $this->handles ? \array_pop($this->handles) : \curl_init();
        if (false === $curl) {
            throw new ClientException('Unable to create a new cURL handle');
        }

        return $curl;
    }
protected function createHandle()
    {
        $curl = $this->handles ? \array_pop($this->handles) : \curl_init();
        if (false === $curl) {
            throw new ClientException('Unable to create a new cURL handle');
        }

        return $curl;
    }
protected function createHandle ( ) { $ curl = $ this -> handles ? \ array_pop ( $ this -> handles ) : \ curl_init ( ) ; if ( false === $ curl ) { throw new ClientException ( 'Unable to create a new cURL handle' ) ; } return $ curl ; }
Creates a new cURL resource.

@return resource A new cURL resource

@throws ClientException If unable to create a cURL resource
Creates a new cURL resource .