protected function listTasks($container) { $this->output->writeln('<comment>Available tasks:</comment>'); foreach (array_keys($container->getTasks()) as $task) { $this->output->writeln(" <info>{$task}</info>"); } }