PhpAmqpLib/Channel/AMQPChannel.php
protected function basic_get_ok($reader, $message)
    {
        $delivery_tag = $reader->read_longlong();
        $redelivered = $reader->read_bit();
        $exchange = $reader->read_shortstr();
        $routing_key = $reader->read_shortstr();
        $message_count = $reader->read_long();

        $message->delivery_info = array(
            'delivery_tag' => $delivery_tag,
            'redelivered' => $redelivered,
            'exchange' => $exchange,
            'routing_key' => $routing_key,
            'message_count' => $message_count
        );

        return $message;
    }
protected function basic_get_ok($reader, $message)
    {
        $delivery_tag = $reader->read_longlong();
        $redelivered = $reader->read_bit();
        $exchange = $reader->read_shortstr();
        $routing_key = $reader->read_shortstr();
        $message_count = $reader->read_long();

        $message->delivery_info = array(
            'delivery_tag' => $delivery_tag,
            'redelivered' => $redelivered,
            'exchange' => $exchange,
            'routing_key' => $routing_key,
            'message_count' => $message_count
        );

        return $message;
    }
protected function basic_get_ok ( $ reader , $ message ) { $ delivery_tag = $ reader -> read_longlong ( ) ; $ redelivered = $ reader -> read_bit ( ) ; $ exchange = $ reader -> read_shortstr ( ) ; $ routing_key = $ reader -> read_shortstr ( ) ; $ message_count = $ reader -> read_long ( ) ; $ message -> delivery_info = array ( 'delivery_tag' => $ delivery_tag , 'redelivered' => $ redelivered , 'exchange' => $ exchange , 'routing_key' => $ routing_key , 'message_count' => $ message_count ) ; return $ message ; }
Provides client with a message

@param AMQPReader $reader
@param AMQPMessage $message
@return AMQPMessage
Provides client with a message