1 | <?php |
||
7 | class StorageDirectoryIsLinked implements Check |
||
8 | { |
||
9 | /** @var Filesystem */ |
||
10 | private $filesystem; |
||
11 | |||
12 | 4 | public function __construct(Filesystem $filesystem) |
|
16 | |||
17 | /** |
||
18 | * The name of the check. |
||
19 | * |
||
20 | * @param array $config |
||
21 | * @return string |
||
22 | */ |
||
23 | public function name(array $config): string |
||
27 | |||
28 | /** |
||
29 | * The error message to display in case the check does not pass. |
||
30 | * |
||
31 | * @param array $config |
||
32 | * @return string |
||
33 | */ |
||
34 | public function message(array $config): string |
||
38 | |||
39 | /** |
||
40 | * Perform the actual verification of this check. |
||
41 | * |
||
42 | * @param array $config |
||
43 | * @return bool |
||
44 | */ |
||
45 | 4 | public function check(array $config): bool |
|
53 | } |
||
54 |