AMQPQueue
PHP Manual

AMQPQueue::__construct

(PECL amqp >= Unknown)

AMQPQueue::__constructCreate an instance of an AMQPQueue object

说明

public AMQPQueue::__construct ( AMQPChannel $amqp_channel )

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

参数

错误/异常

Throws AMQPQueueException when amqp_channel is not connected to a broker.

Throws AMQPConnectionException if the connection to the broker was lost.

返回值

Returns an instance of AMQPQueue on success.


AMQPQueue
PHP Manual