50 public function read(
string $path): string;
63 public function has(
string $path): bool;
91 public function getTimestamp(
string $path): \DateTimeImmutable;
130 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.
This class provides the data size with additional information to remove the work to calculate the siz...
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.