ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
AdapterInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace League\Flysystem;
4 
5 interface AdapterInterface extends ReadInterface
6 {
10  const VISIBILITY_PUBLIC = 'public';
11 
15  const VISIBILITY_PRIVATE = 'private';
16 
26  public function write($path, $contents, Config $config);
27 
37  public function writeStream($path, $resource, Config $config);
38 
48  public function update($path, $contents, Config $config);
49 
59  public function updateStream($path, $resource, Config $config);
60 
69  public function rename($path, $newpath);
70 
79  public function copy($path, $newpath);
80 
88  public function delete($path);
89 
97  public function deleteDir($dirname);
98 
107  public function createDir($dirname, Config $config);
108 
117  public function setVisibility($path, $visibility);
118 }
const VISIBILITY_PUBLIC
VISIBILITY_PUBLIC public visibility
$path
Definition: aliased.php:25
$config
Definition: bootstrap.php:15
write($path, $contents, Config $config)
Write a new file.
createDir($dirname, Config $config)
Create a directory.
updateStream($path, $resource, Config $config)
Update a file using a stream.
const VISIBILITY_PRIVATE
VISIBILITY_PRIVATE private visibility
deleteDir($dirname)
Delete a directory.
copy($path, $newpath)
Copy a file.
rename($path, $newpath)
Rename a file.
writeStream($path, $resource, Config $config)
Write a new file using a stream.
setVisibility($path, $visibility)
Set the visibility for a file.
update($path, $contents, Config $config)
Update a file.