| 1 | <?php |
||
| 7 | class PhpExtensionsAreDisabled implements Check |
||
| 8 | { |
||
| 9 | |||
| 10 | /** @var Collection */ |
||
| 11 | private $extensions; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * The name of the check. |
||
| 15 | * |
||
| 16 | * @param array $config |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | public function name(array $config): string |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Perform the actual verification of this check. |
||
| 26 | * |
||
| 27 | * @param array $config |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | 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 |
||
| 52 | } |
||
| 53 |