Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
49 | public function clear() |
||
50 | { |
||
51 | //try { |
||
52 | $process = $this->runCommand([ |
||
53 | $this->getBinary(), |
||
54 | 'status', |
||
55 | ], true); |
||
56 | |||
57 | var_dump($process->getStatus()); |
||
|
|||
58 | var_dump($process->getOutput()); |
||
59 | var_dump($process->getErrorOutput()); |
||
60 | |||
61 | //$this->stop(); |
||
62 | //} catch (ProcessFailedException $e) { |
||
63 | // Not running, no need to stop |
||
64 | //} |
||
65 | |||
66 | $this->start(); |
||
67 | } |
||
68 | } |
||
69 |