MAKS\AmqpAgent\Worker\PublisherInterface::publishBatch
        Publishes a batch of messages to the default exchange on the default channel of the worker's connection to RabbitMQ server.
        
        
        Signature
        
          public function publishBatch(array
        $messages,
            [integer
        $batchSize = 1000,
            [array
        $parameters = NULL,
            [AMQPChannel
        $_channel = NULL]]] )
            
         
        Parameters
        
          - $messages—
                array
- An array of bodies of the messages or an array of arrays of body and properties for the messages or an array of message objects.
 
 
 
- $batchSize—
                integer
- [optional] The number of messages that should be published per batch.
- $parameters—
                array
- [optional] The overrides for the default exchange options of the worker.
 
 
 
- $_channel—
                MAKS\AmqpAgent\Worker\AMQPChannel|null
- [optional] The channel that should be used instead of the default worker's channel.
 
 
 
Returns
        
          - PublisherInterface