library/AMQP/Channel.php
protected function alert(\AMQP\Wire\Reader $args)
    {
        $replyCode = $args->readShort();
        $replyText = $args->readShortstr();
        $details = $args->readTable();

        array_push($this->alerts, array($replyCode, $replyText, $details));
    }
protected function alert(\AMQP\Wire\Reader $args)
    {
        $replyCode = $args->readShort();
        $replyText = $args->readShortstr();
        $details = $args->readTable();

        array_push($this->alerts, array($replyCode, $replyText, $details));
    }
protected function alert ( \ AMQP \ Wire \ Reader $ args ) { $ replyCode = $ args -> readShort ( ) ; $ replyText = $ args -> readShortstr ( ) ; $ details = $ args -> readTable ( ) ; array_push ( $ this -> alerts , array ( $ replyCode , $ replyText , $ details ) ) ; }
This method allows the server to send a non-fatal warning to
the client.  This is used for methods that are normally
asynchronous and thus do not have confirmations, and for which
the server may detect errors that need to be reported.  Fatal
errors are handled as channel or connection exceptions; non-
fatal errors are sent through this method.

@param \AMQP\Wire\Reader $args
This method allows the server to send a non - fatal warning to the client . This is used for methods that are normally asynchronous and thus do not have confirmations and for which the server may detect errors that need to be reported . Fatal errors are handled as channel or connection exceptions ; non - fatal errors are sent through this method .