@@ 28-35 (lines=8) @@ | ||
25 | $this->healthyChecks(); |
|
26 | } |
|
27 | ||
28 | protected function unhealthyChecks() |
|
29 | { |
|
30 | $this->tableWithTitle( |
|
31 | 'Unhealthy checks', |
|
32 | ['Host', 'Check', 'Message', 'Last checked', 'Next check'], |
|
33 | $this->getTableRows(Check::unhealthy()->get()) |
|
34 | ); |
|
35 | } |
|
36 | ||
37 | protected function healthyChecks() |
|
38 | { |
|
@@ 37-44 (lines=8) @@ | ||
34 | ); |
|
35 | } |
|
36 | ||
37 | protected function healthyChecks() |
|
38 | { |
|
39 | $this->tableWithTitle( |
|
40 | 'Healthy checks', |
|
41 | ['Host', 'Check', 'Message', 'Last checked', 'Next check'], |
|
42 | $this->getTableRows(Check::healthy()->get()) |
|
43 | ); |
|
44 | } |
|
45 | ||
46 | protected function tableWithTitle(string $title, array $header, array $rows) |
|
47 | { |