public function init(array $options = array())
    {
        $this->ch = curl_init();

        if (!empty($options)) {
            $this->setOptions($options);
        }
    }
public function init(array $options = array())
    {
        $this->ch = curl_init();

        if (!empty($options)) {
            $this->setOptions($options);
        }
    }
public function init ( array $ options = array ( ) ) { $ this -> ch = curl_init ( ) ; if ( ! empty ( $ options ) ) { $ this -> setOptions ( $ options ) ; } }
Inits the cURL

@param array $options
@return void
Inits the cURL