| 1 | <?php |
||
| 7 | class RedisCanBeAccessed implements Check |
||
| 8 | { |
||
| 9 | private $message; |
||
| 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 | public function check(array $config): bool |
||
| 50 | |||
| 51 | /** |
||
| 52 | * The error message to display in case the check does not pass. |
||
| 53 | * |
||
| 54 | * @param array $config |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | public function message(array $config): string |
||
| 63 | } |
||
| 64 |