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