src/Curl.php
public function initialize()
    {
        if ($this->isInitialized())
        {
            $this->close();
        }

        if ( ! ($this->curl = curl_init()))
        {
            throw new CurlException('Could not initialize a cURL resource');
        }

        return true;
    }
public function initialize()
    {
        if ($this->isInitialized())
        {
            $this->close();
        }

        if ( ! ($this->curl = curl_init()))
        {
            throw new CurlException('Could not initialize a cURL resource');
        }

        return true;
    }
public function initialize ( ) { if ( $ this -> isInitialized ( ) ) { $ this -> close ( ) ; } if ( ! ( $ this -> curl = curl_init ( ) ) ) { throw new CurlException ( 'Could not initialize a cURL resource' ) ; } return true ; }
Initialize a new cURL resource

@return bool
@throws CurlException
Initialize a new cURL resource