38 public function write(
string $path,
string $content);
56 public function update(
string $path,
string $newContent);
75 public function put(
string $path,
string $content);
91 public function delete(
string $path);
125 public function rename(
string $path,
string $newPath);
143 public function copy(
string $path,
string $copyPath);
update(string $path, string $newContent)
Updates the content of a file.
rename(string $path, string $newPath)
Moves a file from the source to the destination.
readAndDelete(string $path)
Reads the entire file content into a string and removes the file afterwards.
write(string $path, string $content)
Writes the content to a new file.
copy(string $path, string $copyPath)
Copy the source file to a destination.
put(string $path, string $content)
Creates a file or updates an existing one.
Interface FileWriteAccess.