MAKS\AmqpAgent\Worker\AbstractWorkerInterface::getConnection

Returns the default connection of the worker. If the worker is not connected, it returns null.