AMQPExchange
PHP Manual

AMQPExchange::setFlags

(PECL amqp >= Unknown)

AMQPExchange::setFlagsSet the flags on an exchange

说明

public void AMQPExchange::setFlags ( int $flags )

Set the flags on an exchange.

参数

flags

A bitmask of flags. This call currently only considers the following flags: AMQP_DURABLE, AMQP_PASSIVE.

返回值

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


AMQPExchange
PHP Manual