1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | /* |
||
6 | * This file is part of the Micro framework package. |
||
7 | * |
||
8 | * (c) Stanislau Komar <[email protected]> |
||
9 | * |
||
10 | * For the full copyright and license information, please view the LICENSE |
||
11 | * file that was distributed with this source code. |
||
12 | */ |
||
13 | |||
14 | namespace Micro\Plugin\Filesystem\Configuration; |
||
15 | |||
16 | use Micro\Plugin\Filesystem\Configuration\Adapter\FilesystemAdapterConfigurationInterface; |
||
17 | |||
18 | interface FilesystemPluginConfigurationInterface |
||
19 | { |
||
20 | public const ADAPTER_DEFAULT = 'default'; |
||
21 | |||
22 | /** |
||
23 | * @param string $adapterName |
||
24 | * @param class-string<FilesystemAdapterConfigurationInterface> $adapterCfgClass |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
![]() |
|||
25 | * |
||
26 | * @return FilesystemAdapterConfigurationInterface |
||
27 | */ |
||
28 | public function createAdapterConfiguration(string $adapterName, string $adapterCfgClass): FilesystemAdapterConfigurationInterface; |
||
29 | |||
30 | /** |
||
31 | * @param string $adapterName |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getAdapterType(string $adapterName): string; |
||
36 | |||
37 | /** |
||
38 | * @param string $adapterName |
||
39 | * |
||
40 | * @return FilesystemAdapterConfigurationInterface |
||
41 | */ |
||
42 | public function getAdapterConfiguration(string $adapterName): FilesystemAdapterConfigurationInterface; |
||
43 | } |
||
44 |