MAKS\AmqpAgent\Worker\AbstractWorkerInterface::setConnection
Sets the passed connection as the default connection of the worker.
Signature
public function setConnection(AMQPStreamConnection
$connection )
Parameters
$connection
— PhpAmqpLib\Connection\AMQPStreamConnection- The connection that should be as the default connection of the worker.
Returns
- AbstractWorkerInterface