MAKS\AmqpAgent\Worker\AbstractWorker::getChannelById
        Fetches a channel object identified by the passed id (channel_id). If not found, it returns null.
        
        
        Signature
        
        Parameters
        
          - $channelId—
                int
- The id of the channel wished to be fetched.
- $_connection—
                MAKS\AmqpAgent\Worker\AMQPStreamConnection|null
- [optional] The connection that should be used instead of the default worker's connection.
 
 
 
Returns
        
          - AMQPChannel|null
 
Defined by Interface
        
          
            AbstractWorkerInterface
          
        
        Test Coverage
        
          Information
          
            - Coverage: 5/5 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
          
            - [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\AbstractWorkerTest::testGetChannelByIdReturnsAChannelWithThatId
- [ PASSED ] — MAKS\AmqpAgent\Tests\Worker\AbstractWorkerTest::testGetChannelByIdReturnsNullForRandomChannelId