41 public function write(
string $path,
string $content): void;
55 public function update(
string $path,
string $new_content): void;
68 public function put(
string $path,
string $content): void;
80 public function delete(
string $path):
void;
107 public function rename(
string $path,
string $new_path): void;
121 public function copy(
string $path,
string $copy_path): void;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
rename(string $path, string $new_path)
Moves a file from the source to the destination.
update(string $path, string $new_content)
Updates the content of a file.
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 $copy_path)
Copy the source file to a destination.
put(string $path, string $content)
Creates a file or updates an existing one.