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