1 | <?php |
||
8 | class DirectoriesHaveCorrectPermissions implements Check |
||
9 | { |
||
10 | /** @var Filesystem */ |
||
11 | private $filesystem; |
||
12 | |||
13 | /** @var Collection */ |
||
14 | private $paths; |
||
15 | |||
16 | /** |
||
17 | * DirectoriesHaveCorrectPermissions constructor. |
||
18 | * @param Filesystem $filesystem |
||
19 | */ |
||
20 | 4 | public function __construct(Filesystem $filesystem) |
|
24 | |||
25 | /** |
||
26 | * The name of the check. |
||
27 | * |
||
28 | * @param array $config |
||
29 | * @return string |
||
30 | */ |
||
31 | public function name(array $config): string |
||
35 | |||
36 | /** |
||
37 | * The error message to display in case the check does not pass. |
||
38 | * |
||
39 | * @param array $config |
||
40 | * @return string |
||
41 | */ |
||
42 | public function message(array $config): string |
||
48 | |||
49 | /** |
||
50 | * Perform the actual verification of this check. |
||
51 | * |
||
52 | * @param array $config |
||
53 | * @return bool |
||
54 | */ |
||
55 | 4 | public function check(array $config): bool |
|
65 | } |
||
66 |
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.