public function closeSession($sessionId) { try { $result = $this->soap->closeSession($sessionId); if ($result === 'OK') { return $result; } else { throw new SigningException($result['Status']); } } catch (\SoapFault $e) { $this->catchSoapError($e); } }