AdapterInterface Interface
Aurora\Storage\Adapter Namespace
Methods
exists
Check if the file exists
Parameters
-
string$path— Path to the file
Return Value
bool
Signature
public function exists(string $path): bool
read
Read file contents
Parameters
-
string$path— Path to the file
Return Value
string
Signature
public function read(string $path): string
write
Write file contents
Parameters
-
string$path— Path to the file -
string$content— Data to write -
bool$overwrite— Overwrite flag
Return Value
bool
Signature
public function write(string $path, string $content, bool $overwrite): bool