32 $result = compact(
'contents',
'type',
'path');
34 if ($visibility = $config->
get(
'visibility')) {
35 $result[
'visibility'] = $visibility;
126 return compact(
'visibility');
134 return [
'path' => $dirname,
'type' =>
'dir'];
setVisibility($path, $visibility)
Set the visibility for a file.array|false file meta data
getSize($path)
Get the size of a file.array|false
getVisibility($path)
Get the visibility of a file.array|false
getMetadata($path)
Get all the meta data of a file or directory.array|false
has($path)
Check whether a file is present.
getMimetype($path)
Get the mimetype of a file.array|false
update($path, $contents, Config $config)
Update a file.Config objectarray|false false on failure file meta data on success ...
rename($path, $newpath)
Rename a file.bool
deleteDir($dirname)
Delete a directory.bool
createDir($dirname, Config $config)
Create a directory.directory name array|false
listContents($directory='', $recursive=false)
List contents of a directory.array
getTimestamp($path)
Get the timestamp of a file.array|false
read($path)
Read a file.array|false
write($path, $contents, Config $config)
Write a new file.Config objectarray|false false on failure file meta data on success ...
get($key, $default=null)
Get a setting.