private function registerEventListeners(OutputInterface $output, ContextInterface $context) { $this->eventDispatcher->addSubscriber(new ProgressSubscriber($output, new ProgressBar($output))); }