MAKS\AmqpAgent\Worker\AbstractWorker::setConnection
        Sets the passed connection as the default connection of the worker.
        
        
        Signature
        
        Parameters
        
          - $connection—
                PhpAmqpLib\Connection\AMQPStreamConnection
- The connection that should be as the default connection of the worker.
 
 
 
Returns
        
          - AbstractWorker
 
Defined by Interface
        
          
            AbstractWorkerInterface
          
        
        Test Coverage
        
          Information
          
            - Coverage: 2/2 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
          
            - [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\AbstractWorkerTest::testSetConnectionSetsAnotherConnectionAsDefaultAndReturnsSelf