1 | <?php |
||
5 | class FilesystemManager implements FilesystemManagerInterface |
||
6 | { |
||
7 | /** |
||
8 | * @var FilesystemInterface[] |
||
9 | */ |
||
10 | protected $filesystems; |
||
11 | |||
12 | /** |
||
13 | * @param FilesystemInterface[] $filesystems |
||
14 | */ |
||
15 | public function __construct($filesystems = []) |
||
19 | |||
20 | /** |
||
21 | * |
||
22 | */ |
||
23 | public function __destruct() |
||
27 | |||
28 | /** |
||
29 | * @override |
||
30 | * @inheritDoc |
||
31 | */ |
||
32 | public function mountFilesystems($filesystems) |
||
39 | |||
40 | /** |
||
41 | * @override |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | public function existsFilesystem($prefix) |
||
48 | |||
49 | /** |
||
50 | * @override |
||
51 | * @inheritDoc |
||
52 | */ |
||
53 | public function mountFilesystem($prefix, FilesystemInterface $filesystem) |
||
57 | |||
58 | /** |
||
59 | * @override |
||
60 | * @inheritDoc |
||
61 | */ |
||
62 | public function unmountFilesystem($prefix) |
||
66 | |||
67 | /** |
||
68 | * @override |
||
69 | * @inheritDoc |
||
70 | */ |
||
71 | public function getFilesystem($prefix) |
||
80 | } |
||
81 |