AMQPExchange::setType
(PECL amqp >= Unknown)
AMQPExchange::setType — Set the type of the exchange
Opis
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.
Ostrzeżenie
Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.
Parametry
-
exchange_type -
The type of exchange as a string.
Zwracane wartości
Zwraca TRUE w przypadku powodzenia, FALSE w
przypadku błędu.
There are no user contributed notes for this page.
