Elgg  Version master
Static Public Member Functions | List of all members
Elgg\Filesystem\Directory\InMemory Class Reference

Namespace for generating in-memory filesystems. More...

Static Public Member Functions

static fromArray (array $files)
 Shorthand for generating a new in-memory-only filesystem. More...
 

Detailed Description

Namespace for generating in-memory filesystems.

Since
1.10.0

Definition at line 14 of file InMemory.php.

Member Function Documentation

static Elgg\Filesystem\Directory\InMemory::fromArray ( array  $files)
static

Shorthand for generating a new in-memory-only filesystem.

Parameters
array$filesA structure like ['/path' => 'contents']
Returns
Directory

Definition at line 23 of file InMemory.php.


The documentation for this class was generated from the following file: