public function getOption($key)
    {
        if (!array_key_exists($key, $this->options)) {
            throw new CurlException('The Options ' . $key . ' is not registered in this CurlRequest');
        }

        return $this->options[$key];
    }
public function getOption($key)
    {
        if (!array_key_exists($key, $this->options)) {
            throw new CurlException('The Options ' . $key . ' is not registered in this CurlRequest');
        }

        return $this->options[$key];
    }
public function getOption ( $ key ) { if ( ! array_key_exists ( $ key , $ this -> options ) ) { throw new CurlException ( 'The Options ' . $ key . ' is not registered in this CurlRequest' ) ; } return $ this -> options [ $ key ] ; }
gets the value of an option in this curl request

@param $key

@return mixed
@throws CurlException
gets the value of an option in this curl request