| Conditions | 3 |
| Paths | 5 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3 |
| Changes | 11 | ||
| Bugs | 1 | Features | 4 |
| 1 | <?php |
||
| 25 | 2 | public function __invoke() |
|
| 26 | { |
||
| 27 | try { |
||
| 28 | 2 | list($rootConfigFile, $rootConfigOverrides) = $this->init(); |
|
| 29 | 1 | $this->service->__invoke($rootConfigFile, $rootConfigOverrides); |
|
| 30 | 1 | return 0; |
|
| 31 | 1 | } catch (AnyException $e) { |
|
| 32 | 1 | $this->logger->error($e->getMessage()); |
|
| 33 | 1 | $code = $e->getCode() ? $e->getCode() : 1; |
|
| 34 | 1 | return $code; |
|
| 35 | } |
||
| 36 | } |
||
| 37 | |||
| 63 |