Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | trait TStorage |
||
15 | { |
||
16 | /** |
||
17 | * @param object|array<string, string|object>|string $storageParams |
||
18 | * @throws StorageException |
||
19 | * @return IStorage |
||
20 | */ |
||
21 | 15 | protected function getStorage($storageParams = 'volume'): IStorage |
|
22 | { |
||
23 | 15 | return StorageSingleton::getInstance()->getStorage($storageParams); |
|
24 | } |
||
25 | |||
26 | 2 | protected function clearStorage(): void |
|
29 | 2 | } |
|
30 | } |
||
31 |