public function setOptions(array $options)
    {
        foreach ($options as $k => $v) {
            $this->_options[$k] = $v;
        }
        return $this;
    }
public function setOptions(array $options)
    {
        foreach ($options as $k => $v) {
            $this->_options[$k] = $v;
        }
        return $this;
    }
public function setOptions ( array $ options ) { foreach ( $ options as $ k => $ v ) { $ this -> _options [ $ k ] = $ v ; } return $ this ; }
Setter for CURL Options
Warning! setoptions clears all previously setted options and post data
@see curl_setopt_array
@param array $options
@return static
Setter for CURL Options Warning! setoptions clears all previously setted options and post data