From fcf49c9baf901d12137f0d86f388637c2ffafb77 Mon Sep 17 00:00:00 2001 From: Bart Brouwer Date: Mon, 18 Dec 2023 16:21:09 +0100 Subject: [PATCH] Update filesystem_create.md (#289) * Update filesystem_create.md Removed outdated documentation about accessing the filesystem through the MountManager by a prefix. * Keep Mount Manager chapter in docs with link about usage to Flysystem docs --- doc/filesystem_create.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/doc/filesystem_create.md b/doc/filesystem_create.md index 114ad23..42779ba 100644 --- a/doc/filesystem_create.md +++ b/doc/filesystem_create.md @@ -76,25 +76,6 @@ replace `acme` with the name of your filesystem. Thanks to the ``ContainerBuilde ## Use the Mount Manager -If you provided a mount prefix, you can also access the filesystem through the [MountManager](https://github.com/thephpleague/flysystem/blob/master/src/MountManager.php). - -```yml -oneup_flysystem: - adapters: - myadapter: - local: - location: "%kernel.root_dir%/cache" - - filesystems: - myfilesystem: - adapter: myadapter - mount: prefix -``` - -```php -$filesystem = $container->get('oneup_flysystem.mount_manager')->getFilesystem('prefix'); -``` - Details on the usage of the MountManager can be found in the [Flysystem documentation](https://flysystem.thephpleague.com/docs/advanced/mount-manager/). ## Add caching