1 | <?php |
||
8 | class PhpExtensionsAreDisabled implements Check |
||
9 | { |
||
10 | |||
11 | /** @var Collection */ |
||
12 | private $extensions; |
||
13 | |||
14 | /** |
||
15 | * The name of the check. |
||
16 | * |
||
17 | * @param array $config |
||
18 | * @return string |
||
19 | */ |
||
20 | public function name(array $config): string |
||
24 | |||
25 | /** |
||
26 | * Perform the actual verification of this check. |
||
27 | * |
||
28 | * @param array $config |
||
29 | * @return bool |
||
30 | */ |
||
31 | public function check(array $config): bool |
||
40 | |||
41 | /** |
||
42 | * The error message to display in case the check does not pass. |
||
43 | * |
||
44 | * @param array $config |
||
45 | * @return string |
||
46 | */ |
||
47 | public function message(array $config): string |
||
53 | } |
||
54 |