ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ReadInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace League\Flysystem;
4 
5 interface ReadInterface
6 {
14  public function has($path);
15 
23  public function read($path);
24 
32  public function readStream($path);
33 
42  public function listContents($directory = '', $recursive = false);
43 
51  public function getMetadata($path);
52 
60  public function getSize($path);
61 
69  public function getMimetype($path);
70 
78  public function getTimestamp($path);
79 
87  public function getVisibility($path);
88 }
$path
Definition: aliased.php:25
listContents($directory='', $recursive=false)
List contents of a directory.
read($path)
Read a file.
getMetadata($path)
Get all the meta data of a file or directory.
getVisibility($path)
Get the visibility of a file.
has($path)
Check whether a file exists.
getTimestamp($path)
Get the timestamp of a file.
getMimetype($path)
Get the mimetype of a file.
getSize($path)
Get the size of a file.
readStream($path)
Read a file as a stream.