AMQPQueue
PHP Manual

AMQPQueue::__construct

(PECL amqp >= Unknown)

AMQPQueue::__constructCreate an instance of an AMQPQueue object

Description

public AMQPQueue::__construct ( AMQPConnection $amqp_connection )

Creates an AMQPQueue instance representing an AMQP queue on the broker.

Parameters

Errors/Exceptions

Throws AMQPQueueException when amqp_channel is not connected to a broker.

Throws AMQPConnectionException if the connection to the broker was lost.

Return Values

Returns an instance of AMQPQueue on success.


AMQPQueue
PHP Manual