Conditions | 3 |
Paths | 3 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | protected function doExecute(IResponse $response) |
||
44 | { |
||
45 | foreach ($this->subCommands as $subCommand) { |
||
46 | try { |
||
47 | $this->commandCollection->call($subCommand, $response); |
||
48 | } catch (\Exception $e) { |
||
49 | $response->writeln(sprintf('<error>%s@execute failed</error>', $subCommand)); |
||
50 | $response->writeln(sprintf('<fatal>%s</fatal>', $e->getMessage())); |
||
51 | } |
||
55 |