MAKS\AmqpAgent\Worker\PublisherInterface::bind
Binds the default queue to the default exchange on the default channel of the worker's connection to RabbitMQ server.
Signature
public function bind([array
$parameters = NULL,
[AMQPChannel
$_channel = NULL]] )
Parameters
$parameters
—
array
- [optional] The overrides for the default bind options of the worker.
$_channel
—
MAKS\AmqpAgent\Worker\AMQPChannel|null
- [optional] The channel that should be used instead of the default worker's channel.
Returns
- PublisherInterface