Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / symfony / console / Symfony / Component / Console / Tests / Fixtures / Foo3Command.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 Foo3Command extends Command
8 {
9     protected function configure()
10     {
11         $this
12             ->setName('foo3:bar')
13             ->setDescription('The foo3:bar command')
14         ;
15     }
16
17     protected function execute(InputInterface $input, OutputInterface $output)
18     {
19         try {
20             throw new \Exception("First exception");
21         } catch (\Exception $e) {
22             throw new \Exception("Second exception", 0, $e);
23         }
24     }
25 }