PHP Unconference Europe 2015

AMQPExchange::setType

(PECL amqp >= Unknown)

AMQPExchange::setTypeSet the type of the exchange

Descrição

public string AMQPExchange::setType ( string $exchange_type )

Set the type of the exchange. This can be any of AMQP_EX_TYPE_DIRECT, AMQP_EX_TYPE_FANOUT, AMQP_EX_TYPE_HEADER or AMQP_EX_TYPE_TOPIC.

Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Parâmetros

exchange_type

The type of exchange as a string.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

add a note add a note

User Contributed Notes 1 note

up
0
doesnt at matter dot com
1 year ago
AMQP_EX_TYPE_HEADER was changed to AMQP_EX_TYPE_HEADERS but PHP manual is not fixed yet.
https://bugs.php.net/bug.php?id=62696
To Top