Conditions | 3 |
Paths | 3 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
47 | protected function execute(InputInterface $input, OutputInterface $output) |
||
48 | { |
||
49 | $this->input = $input; |
||
50 | $this->output = $output; |
||
51 | |||
52 | try { |
||
53 | return $this->fire(); |
||
54 | } catch (DomainException $e) { |
||
55 | return 1; |
||
56 | } catch (Exception $e) { |
||
57 | $this->error($e->getMessage()); |
||
58 | $this->error('Abort!'); |
||
59 | |||
60 | return $e->getCode(); |
||
61 | } |
||
62 | } |
||
63 | |||
101 |