3 use Symfony\Component\Console\Command\Command;
4 use Symfony\Component\Console\Input\InputInterface;
5 use Symfony\Component\Console\Output\OutputInterface;
7 class TestCommand extends Command
9 protected function configure()
12 ->setName('namespace:name')
13 ->setAliases(array('name'))
14 ->setDescription('description')
19 protected function execute(InputInterface $input, OutputInterface $output)
21 $output->writeln('execute called');
24 protected function interact(InputInterface $input, OutputInterface $output)
26 $output->writeln('interact called');