Elgg  Version 2.3
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

private

Definition at line 13 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 22 of file InMemory.php.


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