AMQPQueue
PHP Manual

AMQPQueue::__construct

(PECL amqp >= Unknown)

AMQPQueue::__constructCreate an instance of an AMQPQueue object

Descrierea

public AMQPQueue::__construct ( AMQPChannel $amqp_channel )

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

Parametri

Erori/Excepții

Throws AMQPQueueException when amqp_channel is not connected to a broker.

Throws AMQPConnectionException if the connection to the broker was lost.

Valorile întoarse

Returns an instance of AMQPQueue on success.


AMQPQueue
PHP Manual