ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Directory.php
Go to the documentation of this file.
1<?php
2
3namespace League\Flysystem;
4
5class Directory extends Handler
6{
12 public function delete()
13 {
14 return $this->filesystem->deleteDir($this->path);
15 }
16
24 public function getContents($recursive = false)
25 {
26 return $this->filesystem->listContents($this->path, $recursive);
27 }
28}
An exception for terminatinating execution or to throw for unit testing.
getContents($recursive=false)
List the directory contents.
Definition: Directory.php:24