setName('foo') ->setDescription('The foo command') ; } protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln('called'); } }