addParam('file', $this->file); $paramSwitcher->addParam('showImg', $this->showImg); $httpParameters = HttpParameter::httpPostParamer(); $httpParameters->setParams($paramSwitcher->getParams()); return $httpParameters; } /** * @return mixed */ public function getFile() { return $this->file; } /** * @param mixed $file */ public function setFile($file) { $this->file = $file; } /** * @return mixed */ public function getShowImg() { return $this->showImg; } /** * @param mixed $showImg */ public function setShowImg($showImg) { $this->showImg = $showImg; } }