protected function execute(InputInterface $input, OutputInterface $output) { $updater = $this->getContainer()->get('knp_bundles.updater'); $updater->setOutput($output); $updater->removeDuplicatedActivities(); }