1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
namespace League\Flysystem;
class Directory extends Handler { /** * Delete the directory. * * @return bool */ public function delete() { return $this->filesystem->deleteDir($this->path); }
/** * List the directory contents. * * @param bool $recursive * * @return array|bool directory contents or false */ public function getContents($recursive = false) { return $this->filesystem->listContents($this->path, $recursive); } }
|