src/PAMI/Client/Impl/ClientImpl.php
protected function findResponse(IncomingMessage $message)
    {
        $actionId = $message->getActionId();
        if (isset($this->incomingQueue[$actionId])) {
            return $this->incomingQueue[$actionId];
        }
        return false;
    }
protected function findResponse(IncomingMessage $message)
    {
        $actionId = $message->getActionId();
        if (isset($this->incomingQueue[$actionId])) {
            return $this->incomingQueue[$actionId];
        }
        return false;
    }
protected function findResponse ( IncomingMessage $ message ) { $ actionId = $ message -> getActionId ( ) ; if ( isset ( $ this -> incomingQueue [ $ actionId ] ) ) { return $ this -> incomingQueue [ $ actionId ] ; } return false ; }
Tries to find an associated response for the given message.

@param IncomingMessage $message Message sent by asterisk.

@return \PAMI\Message\Response\ResponseMessage
Tries to find an associated response for the given message .