Yaffs site version 1.1
[yaffs-website] / vendor / symfony / console / Tests / Fixtures / TestCommand.php
1 <?php
2
3 use Symfony\Component\Console\Command\Command;
4 use Symfony\Component\Console\Input\InputInterface;
5 use Symfony\Component\Console\Output\OutputInterface;
6
7 class TestCommand extends Command
8 {
9     protected function configure()
10     {
11         $this
12             ->setName('namespace:name')
13             ->setAliases(array('name'))
14             ->setDescription('description')
15             ->setHelp('help')
16         ;
17     }
18
19     protected function execute(InputInterface $input, OutputInterface $output)
20     {
21         $output->writeln('execute called');
22     }
23
24     protected function interact(InputInterface $input, OutputInterface $output)
25     {
26         $output->writeln('interact called');
27     }
28 }