ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
FilesystemInterface.php
Go to the documentation of this file.
1<?php
2
3namespace League\Flysystem;
4
6{
14 public function has($path);
15
25 public function read($path);
26
36 public function readStream($path);
37
46 public function listContents($directory = '', $recursive = false);
47
57 public function getMetadata($path);
58
66 public function getSize($path);
67
77 public function getMimetype($path);
78
88 public function getTimestamp($path);
89
99 public function getVisibility($path);
100
112 public function write($path, $contents, array $config = []);
113
126 public function writeStream($path, $resource, array $config = []);
127
139 public function update($path, $contents, array $config = []);
140
153 public function updateStream($path, $resource, array $config = []);
154
166 public function rename($path, $newpath);
167
179 public function copy($path, $newpath);
180
190 public function delete($path);
191
201 public function deleteDir($dirname);
202
211 public function createDir($dirname, array $config = []);
212
221 public function setVisibility($path, $visibility);
222
232 public function put($path, $contents, array $config = []);
233
245 public function putStream($path, $resource, array $config = []);
246
256 public function readAndDelete($path);
257
266 public function get($path, Handler $handler = null);
267
275 public function addPlugin(PluginInterface $plugin);
276}
An exception for terminatinating execution or to throw for unit testing.
getMetadata($path)
Get a file's metadata.
copy($path, $newpath)
Copy a file.
getTimestamp($path)
Get a file's timestamp.
put($path, $contents, array $config=[])
Create a file or update if exists.
getSize($path)
Get a file's size.
setVisibility($path, $visibility)
Set the visibility for a file.
addPlugin(PluginInterface $plugin)
Register a plugin.
deleteDir($dirname)
Delete a directory.
updateStream($path, $resource, array $config=[])
Update an existing file using a stream.
listContents($directory='', $recursive=false)
List contents of a directory.
readAndDelete($path)
Read and delete a file.
getMimetype($path)
Get a file's mime-type.
writeStream($path, $resource, array $config=[])
Write a new file using a stream.
has($path)
Check whether a file exists.
readStream($path)
Retrieves a read-stream for a path.
createDir($dirname, array $config=[])
Create a directory.
getVisibility($path)
Get a file's visibility.
write($path, $contents, array $config=[])
Write a new file.
putStream($path, $resource, array $config=[])
Create a file or update if exists.
rename($path, $newpath)
Rename a file.
update($path, $contents, array $config=[])
Update an existing file.
$handler