MAKS\AmqpAgent\Worker\AbstractWorkerInterface::queue
Declares a queue on the default channel of the worker's connection with RabbitMQ server.
Signature
public function queue([array
$parameters = NULL,
[AMQPChannel
$_channel = NULL]] )
Parameters
$parameters
—
array
- [optional] The overrides for the default queue options of the worker.
$_channel
—
PhpAmqpLib\Channel\AMQPChannel
- [optional] The channel that should be used instead of the default worker's channel.
Returns
- AbstractWorkerInterface