addParam('user', $this->user); $paramSwitcher->addParam('tenantName', $this->tenantName); $httpParameters = HttpParameter::httpPostParamer(); $httpParameters->setJsonParams(json_encode($paramSwitcher->getParams())); return $httpParameters; } /** * @return mixed */ public function getUser() { return $this->user; } /** * @param mixed $user */ public function setUser($user) { $this->user = $user; } /** * @return mixed */ public function getTenantName() { return $this->tenantName; } /** * @param mixed $tenantName */ public function setTenantName($tenantName) { $this->tenantName = $tenantName; } }