AMQPExchange
PHP Manual

AMQPExchange::setName

(PECL amqp >= Unknown)

AMQPExchange::setNameSet the name of the exchange

说明

public void AMQPExchange::setName ( string $exchange_name )

Set the name of the exchange.

参数

exchange_name

The name of the exchange to set as string.

返回值

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


AMQPExchange
PHP Manual