/** * @param OutputInterface $output */ public function add(OutputInterface $output) { foreach ($output->supports() as $support) { $this->outputs[$support] = $output; } }