int size(string $path) Get the file size of a given file. Parameters string $path Return Value int
string sharedGet(string $path) Get contents of a file with shared access. Parameters string $path Return Value string
void setVisibility(string $path, string $visibility) Set the visibility for the given path. Parameters string $path string $visibility Return Value void
mixed requireOnce(string $file) Require the given file once. Parameters string $file Return Value mixed
int put(string $path, string $contents, bool $lock = false) Write the contents of a file. Parameters string $path string $contents bool $lock Return Value int
bool put(string $path, string|resource $contents, string $visibility = null) Write the contents of a file. Parameters string $path string|resource $contents string $visibility Return Value bool
int prepend(string $path, string $data) Prepend to a file. Parameters string $path string $data Return Value int
string name(string $path) Extract the file name from a file path. Parameters string $path Return Value string
Page 660 of 996