Cloud::get()

string get(string $path) Get the contents of a file. Parameters string $path Return Value string Exceptions FileNotFoundException

Cloud::files()

array files(string|null $directory = null, bool $recursive = false) Get an array of all files in a directory. Parameters string|null $directory bool $recursive Return Value array

Cloud::exists()

bool exists(string $path) Determine if a file exists. Parameters string $path Return Value bool

Cloud::directories()

array directories(string|null $directory = null, bool $recursive = false) Get all of the directories within a given directory. Parameters string|null $directory bool $recursive Return Value array

Cloud::deleteDirectory()

bool deleteDirectory(string $directory) Recursively delete a directory. Parameters string $directory Return Value bool

Cloud::delete()

bool delete(string|array $paths) Delete the file at a given path. Parameters string|array $paths Return Value bool

Cloud::copy()

bool copy(string $from, string $to) Copy a file to a new location. Parameters string $from string $to Return Value bool

Cloud::append()

int append(string $path, string $data) Append to a file. Parameters string $path string $data Return Value int

Cloud::allFiles()

array allFiles(string|null $directory = null) Get all of the files from the given directory (recursive). Parameters string|null $directory Return Value array

Cloud::allDirectories()

array allDirectories(string|null $directory = null) Get all (recursive) of the directories within a given directory. Parameters string|null $directory Return Value array