At least the current version (1.0.7) uses
function bind($exchangeName, $routingKey[, $flags]);
AMQPExchange::bind
(PECL amqp >= Unknown)
AMQPExchange::bind — The bind purpose
Description
public bool AMQPExchange::bind
( string $queue_name
, string $routing_key
)
Bind an exchange to a queue using the specified routing key.
Parameters
- queue_name
-
The name of the queue to which to bind.
- routing_key
-
The routing key to use as a binding.
Return Values
Returns TRUE on success or FALSE on failure.
Errors/Exceptions
Throws AMQPExchangeException on failure.
maik dot penz at foobugs dot com ¶
7 months ago
