src/Console/BaseCommand.php
protected function renderJob($job)
    {
        $stats = $this->getJobStats($job);

        $format = '<info>id</info>: %u, <info>length</info>: %u, <info>priority</info>: %u, <info>delay</info>: %u, <info>age</info>: %u, <info>ttr</info>: %u';
        $line = sprintf($format, $job->getId(), strlen($job->getData()), $stats['pri'], $stats['delay'], $stats['age'], $stats['ttr']);
        $this->output->writeln($line);

        $format = '<comment>reserves</comment>: %u, <comment>releases</comment>: %u, <comment>buries</comment>: %u, <comment>kicks</comment>: %u, <comment>timeouts</comment>: %u';
        $line = sprintf($format, $stats['reserves'], $stats['releases'], $stats['buries'], $stats['kicks'], $stats['timeouts']);
        $this->output->writeln($line);

        $this->output->writeln('<comment>body:</comment>');

        $data = $job->getData();
        $this->output->writeln("\"$data\"");
    }
protected function renderJob($job)
    {
        $stats = $this->getJobStats($job);

        $format = '<info>id</info>: %u, <info>length</info>: %u, <info>priority</info>: %u, <info>delay</info>: %u, <info>age</info>: %u, <info>ttr</info>: %u';
        $line = sprintf($format, $job->getId(), strlen($job->getData()), $stats['pri'], $stats['delay'], $stats['age'], $stats['ttr']);
        $this->output->writeln($line);

        $format = '<comment>reserves</comment>: %u, <comment>releases</comment>: %u, <comment>buries</comment>: %u, <comment>kicks</comment>: %u, <comment>timeouts</comment>: %u';
        $line = sprintf($format, $stats['reserves'], $stats['releases'], $stats['buries'], $stats['kicks'], $stats['timeouts']);
        $this->output->writeln($line);

        $this->output->writeln('<comment>body:</comment>');

        $data = $job->getData();
        $this->output->writeln("\"$data\"");
    }
Displays job information.

@param $job