메소드 |
설명 |
|
__construct ( Kraken\Filesystem\FilesystemInterface[] $filesystems = [] ) |
|
|
__destruct ( ) |
|
|
append ( $path, $contents ) |
|
|
copyDir ( $source, $destination ) |
|
|
copyFile ( $source, $destination ) |
|
|
create ( $path, $contents ) |
|
|
createDir ( $dirname, $visibility = Filesystem::VISIBILITY_DEFAULT ) |
|
|
createFile ( $path, $contents = '', $visibility = Filesystem::VISIBILITY_DEFAULT ) |
|
|
eraseDir ( $dirname = '' ) |
|
|
eraseFile ( $path ) |
|
|
exists ( $path ) |
|
|
existsFilesystem ( $prefix ) |
|
|
getContents ( $directory = '', $recursive = false, $filterPatterns = [] ) |
|
|
getDirectories ( $directory = '', $recursive = false, $filterPatterns = [] ) |
|
|
getFiles ( $directory = '', $recursive = false, $filterPatterns = [] ) |
|
|
getFilesystem ( $prefix ) |
|
|
getMimetype ( $path ) |
|
|
getSize ( $path ) |
|
|
getTimestamp ( $path ) |
|
|
getType ( $path ) |
|
|
getVisibility ( $path ) |
|
|
isDir ( $path ) |
|
|
isFile ( $path ) |
|
|
isPrivate ( $path = '' ) |
|
|
isPublic ( $path = '' ) |
|
|
mountFilesystem ( $prefix, Kraken\Filesystem\FilesystemInterface $filesystem ) |
|
|
mountFilesystems ( $filesystems ) |
|
|
move ( $source, $destination ) |
|
|
prepend ( $path, $contents ) |
|
|
read ( $path ) |
|
|
removeDir ( $dirname ) |
|
|
removeFile ( $path ) |
|
|
req ( $path ) |
|
|
setPrivate ( $path = '' ) |
|
|
setPublic ( $path = '' ) |
|
|
setVisibility ( $path, $visibility ) |
|
|
unmountFilesystem ( $prefix ) |
|
|
write ( $path, $contents ) |
|
|