public function endDialog()
    {
        $this->logger->info('Initialize END dialog message');

        $endMsg = new Message(
            $this->bankCode,
            $this->username,
            $this->pin,
            $this->systemId,
            $this->dialogId,
            $this->messageNumber,
            array(
                new HKEND(3, $this->dialogId)
            )
        );

        $this->logger->debug('Sending END message: ' . (string) $endMsg);
        $response = $this->sendMessage($endMsg);
        $this->logger->debug('Got END response: ' . $response->rawResponse);

        $this->logger->info('Resetting dialog ID and message number count');
        $this->dialogId = 0;
        $this->messageNumber = 1;

        return $response->rawResponse;
    }
public function endDialog()
    {
        $this->logger->info('Initialize END dialog message');

        $endMsg = new Message(
            $this->bankCode,
            $this->username,
            $this->pin,
            $this->systemId,
            $this->dialogId,
            $this->messageNumber,
            array(
                new HKEND(3, $this->dialogId)
            )
        );

        $this->logger->debug('Sending END message: ' . (string) $endMsg);
        $response = $this->sendMessage($endMsg);
        $this->logger->debug('Got END response: ' . $response->rawResponse);

        $this->logger->info('Resetting dialog ID and message number count');
        $this->dialogId = 0;
        $this->messageNumber = 1;

        return $response->rawResponse;
    }
public function endDialog ( ) { $ this -> logger -> info ( 'Initialize END dialog message' ) ; $ endMsg = new Message ( $ this -> bankCode , $ this -> username , $ this -> pin , $ this -> systemId , $ this -> dialogId , $ this -> messageNumber , array ( new HKEND ( 3 , $ this -> dialogId ) ) ) ; $ this -> logger -> debug ( 'Sending END message: ' . ( string ) $ endMsg ) ; $ response = $ this -> sendMessage ( $ endMsg ) ; $ this -> logger -> debug ( 'Got END response: ' . $ response -> rawResponse ) ; $ this -> logger -> info ( 'Resetting dialog ID and message number count' ) ; $ this -> dialogId = 0 ; $ this -> messageNumber = 1 ; return $ response -> rawResponse ; }
Ends a previous started dialog.

@return string
@throws AdapterException
@throws CurlException
@throws FailedRequestException
Ends a previous started dialog .