AMQPQueue
PHP Manual

AMQPQueue::__construct

(PECL amqp >= Unknown)

AMQPQueue::__constructCreate an instance of an AMQPQueue object.

说明

AMQPQueue::__construct ( AMQPConnection $amqp_connection [, string $queue_name = "" ] )

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

参数

amqp_connection

A valid AMQPConnection object.

queue_name

The name of the queue to construct. If no queue name is specified, the broker will generate one.

返回值


AMQPQueue
PHP Manual