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