메소드 |
설명 |
|
__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 |
|