| 1 | <?php |
||
| 8 | class HorizonIsRunning implements Check |
||
| 9 | { |
||
| 10 | private $error = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * The name of the check. |
||
| 14 | * |
||
| 15 | * @param array $config |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | public function name(array $config): string |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Perform the actual verification of this check. |
||
| 25 | * |
||
| 26 | * @param array $config |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | 8 | public function check(array $config): bool |
|
| 42 | |||
| 43 | /** |
||
| 44 | * The error message to display in case the check does not pass. |
||
| 45 | * |
||
| 46 | * @param array $config |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function message(array $config): string |
||
| 59 | } |
||
| 60 |