public function setParams($params, $merge = true) { $this->_params = $merge ? array_merge($this->_params, $params) : $params; return $this; }