original_string: public function queue(string $queueName, JobInterface $job, array $options = []): void
      {
          $queue = $this->queueManager->getQueue($queueName);
  
          $payload = serialize($job);
          $messageId = $queue->submit($payload, $options);
          $this->emitMessageSubmitted($queue, $messageId, $payload, $options);
      }
code: public function queue(string $queueName, JobInterface $job, array $options = []): void
      {
          $queue = $this->queueManager->getQueue($queueName);
  
          $payload = serialize($job);
          $messageId = $queue->submit($payload, $options);
          $this->emitMessageSubmitted($queue, $messageId, $payload, $options);
      }
code_tokens: public function queue ( string $ queueName , JobInterface $ job , array $ options = [ ] ) : void { $ queue = $ this -> queueManager -> getQueue ( $ queueName ) ; $ payload = serialize ( $ job ) ; $ messageId = $ queue -> submit ( $ payload , $ options ) ; $ this -> emitMessageSubmitted ( $ queue , $ messageId , $ payload , $ options ) ; }
docstring: Put a job in the queue
  
  @param string $queueName
  @param JobInterface $job The job to submit to the queue
  @param array $options Simple key/value array with options that will be passed to the queue for this job (optional)
  @return void
  @api
docstring_tokens: Put a job in the queue