bool delete(string|array $paths) Delete the file at a given path. Parameters string|array $paths Return Value bool
bool copyDirectory(string $directory, string $destination, int $options = null) Copy a directory from one location to another. Parameters string $directory string $destination int $options Return Value bool
bool copy(string $path, string $target) Copy a file to a new location. Parameters string $path string $target Return Value bool
bool copy(string $from, string $to) Copy a file to a new location. Parameters string $from string $to Return Value bool
bool cleanDirectory(string $directory) Empty the specified directory of all files and folders. Parameters string $directory Return Value bool
string basename(string $path) Extract the trailing name component from a file path. Parameters string $path Return Value string
int append(string $path, string $data) Append to a file. Parameters string $path string $data Return Value int
array allFiles(string $directory, bool $hidden = false) Get all of the files from the given directory (recursive). Parameters string $directory bool $hidden Return Value array
Page 664 of 996