/**
  * Prints information about a queue.
  *
  * @param string $queueName The name of the queue to work on
  * @cli
  */
 public function infoCommand($queueName)
 {
     $queue = $this->jobManager->getQueueManager()->getQueue($queueName);
     $options = $queue->getOptions();
     $this->outputFormatted('Information for queue "%s"...', [$queueName]);
     $this->outputFormatted('<b>Class:</b> %s', [get_class($queue)]);
     if (is_array($options) && !empty($options)) {
         foreach ($options as $key => $value) {
             $this->outputFormatted('<b>%s:</b> %s', [ucfirst($key), $value === null ? 'null' : $value]);
         }
     }
 }