ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ReadInterface.php
Go to the documentation of this file.
1<?php
2
3namespace League\Flysystem;
4
5interface 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}
An exception for terminatinating execution or to throw for unit testing.
getMimetype($path)
Get the mimetype of a file.
getMetadata($path)
Get all the meta data of a file or directory.
listContents($directory='', $recursive=false)
List contents of a directory.
getVisibility($path)
Get the visibility of a file.
has($path)
Check whether a file exists.
getTimestamp($path)
Get the timestamp of a file.
readStream($path)
Read a file as a stream.
getSize($path)
Get the size of a file.