In Memory Filesystem Adapter
Interacting with the local filesystem through Flysystem can be done
by using the League\Flysystem\InMemory\InMemoryFilesystemAdapter
.
Usage:
// The internal adapter
$adapter = new League\Flysystem\InMemory\InMemoryFilesystemAdapter();
// The FilesystemOperator
$filesystem = new League\Flysystem\Filesystem($adapter);