| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function execute() |
||
| 31 | { |
||
| 32 | $id = $this->input->getArgument('id'); |
||
| 33 | try { |
||
| 34 | $this->manager->down($id); |
||
| 35 | } catch (RuntimeException $e) { |
||
| 36 | throw new ConsoleException("<error>Error</error> {$e->getMessage()}"); |
||
| 37 | } |
||
| 38 | $this->output->writeln("<info>down</info> {$id}"); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |