1 | <?php |
||
5 | class ListFiles extends AbstractPlugin |
||
6 | { |
||
7 | /** |
||
8 | * Get the method name. |
||
9 | * |
||
10 | * @return string |
||
11 | */ |
||
12 | 3 | public function getMethod() |
|
16 | |||
17 | /** |
||
18 | * List all files in the directory. |
||
19 | * |
||
20 | * @param string $directory |
||
21 | * @param bool $recursive |
||
22 | * |
||
23 | * @return array |
||
24 | */ |
||
25 | 3 | public function handle($directory = '', $recursive = false) |
|
35 | } |
||
36 |