This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2017-05-24 18:35:30 -05:00

444 B
Executable File

layout, permalink, title
layout permalink title
default /adapter/memory/ Memory Adapter

Memory Adapter

This adapter keeps the filesystem completely in memory. This is useful when you need a filesystem, but don't want it persisted.

Installation

composer require league/flysystem-memory

Usage

use League\Flysystem\Filesystem;
use League\Flysystem\Memory\MemoryAdapter;

$filesystem = new Filesystem(new MemoryAdapter());