public function describeCommand($queue)
    {
        $queueSettings = $this->queueManager->getQueueSettings($queue);
        $this->outputLine('Configuration options for Queue <b>%s</b>:', [$queue]);
        $rows = [];
        foreach ($queueSettings as $name => $value) {
            $rows[] = [$name, is_array($value) ? json_encode($value, JSON_PRETTY_PRINT) : $value];
        }
        $this->output->outputTable($rows, ['Option', 'Value']);
    }
public function describeCommand($queue)
    {
        $queueSettings = $this->queueManager->getQueueSettings($queue);
        $this->outputLine('Configuration options for Queue <b>%s</b>:', [$queue]);
        $rows = [];
        foreach ($queueSettings as $name => $value) {
            $rows[] = [$name, is_array($value) ? json_encode($value, JSON_PRETTY_PRINT) : $value];
        }
        $this->output->outputTable($rows, ['Option', 'Value']);
    }
public function describeCommand ( $ queue ) { $ queueSettings = $ this -> queueManager -> getQueueSettings ( $ queue ) ; $ this -> outputLine ( 'Configuration options for Queue <b>%s</b>:' , [ $ queue ] ) ; $ rows = [ ] ; foreach ( $ queueSettings as $ name => $ value ) { $ rows [ ] = [ $ name , is_array ( $ value ) ? json_encode ( $ value , JSON_PRETTY_PRINT ) : $ value ] ; } $ this -> output -> outputTable ( $ rows , [ 'Option' , 'Value' ] ) ; }
Describe a single queue

Displays the configuration for a queue, merged with the preset settings if any.

@param string $queue Name of the queue to describe (e.g. "some-queue")
@return void
@throws Exception
Describe a single queue