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