Yaffs site version 1.1
[yaffs-website] / vendor / symfony / console / Tests / Fixtures / FoobarCommand.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 FoobarCommand extends Command
8 {
9     public $input;
10     public $output;
11
12     protected function configure()
13     {
14         $this
15             ->setName('foobar:foo')
16             ->setDescription('The foobar:foo command')
17         ;
18     }
19
20     protected function execute(InputInterface $input, OutputInterface $output)
21     {
22         $this->input = $input;
23         $this->output = $output;
24     }
25 }