| 1 | <?php |
||
| 5 | class MaintenanceModeNotEnabled implements Check |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * The name of the check. |
||
| 9 | * |
||
| 10 | * @param array $config |
||
| 11 | * @return string |
||
| 12 | */ |
||
| 13 | public function name(array $config): string |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Perform the actual verification of this check. |
||
| 20 | * |
||
| 21 | * @param array $config |
||
| 22 | * @return bool |
||
| 23 | */ |
||
| 24 | public function check(array $config): bool |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The error message to display in case the check does not pass. |
||
| 31 | * |
||
| 32 | * @param array $config |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function message(array $config): string |
||
| 39 | } |
||
| 40 |