38 public function read(
string $path) : string;
51 public function has(
string $path) : bool;
79 public function getTimestamp(
string $path) : \DateTimeImmutable;
118 public function setVisibility(
string $path,
string $visibility) : bool;
getVisibility(string $path)
Get the file visibility.
getSize(string $path, int $fileSizeUnit)
Get the size of a file.
Exercise XML Parser which completes/updates a given file by an xml string.
getTimestamp(string $path)
Get the timestamp of the file.
has(string $path)
Checks whether a file exists.
read(string $path)
Reads a file content to a string.
setVisibility(string $path, string $visibility)
Sets the visibility for a file.
getMimeType(string $path)
Get a files mime-type.
Interface FileReadAccess.