Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions doc/filesystem_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down