MAKS\AmqpAgent\Worker\AbstractWorkerInterface::setChannel
Sets the passed channel as the default channel of the worker.
Signature
public function setChannel(AMQPChannel
$channel )
Parameters
$channel
— PhpAmqpLib\Channel\AMQPChannel- The channel that should be as the default channel of the worker.
Returns
- AbstractWorkerInterface