public function indexAction()
    {
        $jobManager = $this->get('phlexible_queue.job_manager');

        $data = [];

        foreach ($jobManager->findAll() as $job) {
            $data[] = [
                'id' => $job->getId(),
                'command' => $job->getCommand(),
                'arguments' => implode(' ', $job->getArguments()),
                'priority' => $job->getPriority(),
                'status' => $job->getStatus(),
            ];
        }

        $out = '<pre>Current jobs: '.PHP_EOL;
        $out .= print_r($data, 1);

        return new Response($out);
    }