AMQPQueue
PHP Manual

AMQPQueue::setFlags

(PECL amqp >= Unknown)

AMQPQueue::setFlagsSet the queue flags

说明

public void AMQPQueue::setFlags ( int $flags )

Set the flags on the queue.

参数

flags

A bitmask of flags. This call currently only supports a bitmask of the following flags: AMQP_DURABLE, AMQP_PASSIVE, AMQP_EXCLUSIVE, AMQP_AUTODELETE.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE


AMQPQueue
PHP Manual