30 public function read(
string $path) : string;
39 public function has(
string $path) : bool;
An exception for terminatinating execution or to throw for unit testing.
Class FileNotFoundException Indicates that a file is missing or not found.
Class IOException Indicates general problems with the input or output operations.
Interface FileReadAccess All readonly file operations of the filesystem service.
setVisibility(string $path, string $visibility)
Sets the visibility for a file.
read(string $path)
Reads a file content to a string.
has(string $path)
Checks whether a file exists.
getSize(string $path, int $fileSizeUnit)
Get the size of a file.
getVisibility(string $path)
Get the file visibility.
getMimeType(string $path)
Get a files mime-type.
getTimestamp(string $path)
Get the timestamp of the file.