42 public function read(
string $path): string;
52 public function has(
string $path): bool;
77 public function getTimestamp(
string $path): \DateTimeImmutable;
109 public function setVisibility(
string $path,
string $visibility): bool;
getVisibility(string $path)
Get the file visibility.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
getSize(string $path, int $unit)
Get the size of a 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.