Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
14 | public static function checkHealth(Event $event) |
||
15 | { |
||
16 | $options = self::getOptions($event); |
||
17 | |||
18 | // use Symfony 3.0 dir structure if available |
||
19 | $consoleDir = isset($options['symfony-bin-dir']) ? $options['symfony-bin-dir'] : $options['symfony-app-dir']; |
||
20 | $event->getIO()->write('<info>Performing system health checks...</info>'); |
||
21 | static::executeCommand($event, $consoleDir, 'monitor:health'); |
||
22 | } |
||
23 | } |
||
24 |