Property | Type | Description | |
---|---|---|---|
$errors | Holds a array of objects which contain an array of objects, etc. | ||
$method | a fast more efficient way of determining if a path exists, and access to that node | ||
$verbose |
Method | Description | |
---|---|---|
__construct ( ) | ||
abspath ( $path = false ) | Copy of core's function, but accepts a path. | |
chdir ( $path ) | ||
connect ( ) | ||
cwd ( ) | ||
dirlist ( $path = '.', $include_hidden = true, $recursive = false ) | ||
exists ( $path ) | ||
get_contents ( $file ) | ||
init ( $paths = '', $home_dir = '/' ) | Sets initial filesystem environment and/or clears the current environment. | |
is_dir ( $path ) | Mock FS specific functions: | |
is_file ( $file ) | ||
mkdir ( $path, $chmod = false, $chown = false, $chgrp = false ) | ||
put_contents ( $path, $contents = '', $mode = null ) | ||
setfs ( $paths ) | "Bulk Loads" a filesystem into the internal virtual filesystem |
Method | Description | |
---|---|---|
locate_node ( $path ) | Locates a filesystem "node" | |
locate_parent_node ( $path ) | Locates a filesystem node for the parent of the given item |
public abspath ( $path = false ) |
public init ( $paths = '', $home_dir = '/' ) |
public setfs ( $paths ) |
public $errors |
public $method |