/** * Add a new parameter to be used in the CURL request. * @param string $key * @param string|mixed $val */ public function addParam($key, $val) { $param = new Parameter($key, $val); $this->dataCollection->add($param); }