| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class FilesystemProvider |
||
| 25 | { |
||
| 26 | public const FILESYSTEM_ADAPTER_TAG = 'silverback.api_components.filesystem_adapter'; |
||
| 27 | public const FILESYSTEM_TAG = 'silverback.api_components.filesystem'; |
||
| 28 | |||
| 29 | public function __construct(private readonly ServiceLocator $filesystems) |
||
| 30 | { |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @throws ContainerExceptionInterface |
||
| 35 | */ |
||
| 36 | public function getFilesystem(string $name): Filesystem |
||
| 39 | } |
||
| 40 | } |
||
| 41 |