1 | <?php |
||
5 | class FilenameCompleter extends Completer |
||
6 | { |
||
7 | /** |
||
8 | * Search for files and directories corresponding to the word to complete |
||
9 | * |
||
10 | * @return array |
||
11 | */ |
||
12 | protected function search() { |
||
15 | |||
16 | /** |
||
17 | * Append a quote if path is prefixed with a quote, except for directories |
||
18 | * |
||
19 | * @param string $path |
||
20 | * @return string |
||
21 | */ |
||
22 | protected function appendQuoteIfNeeded($path) |
||
34 | } |
||
35 |