sAdditionalMessage = $sAdditionalMessage; $this->setLogoutOnException($bLogoutOnException); } /** * @return string */ public function getAdditionalMessage() { return $this->sAdditionalMessage; } /** * @return boolen */ public function getLogoutOnException() { return $this->bLogoutOnException; } /** * @param boolean $bLogoutOnException * @param string $sAdditionalLogoutMessage = '' * * @return ClientException */ public function setLogoutOnException($bLogoutOnException, $sAdditionalLogoutMessage = '') { $this->bLogoutOnException = !!$bLogoutOnException; $this->sAdditionalMessage = $sAdditionalLogoutMessage; return $this; } }