Conditions | 4 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
43 | public function listFiles(EtlExecution $execution): array |
||
44 | { |
||
45 | $files = []; |
||
46 | $dir = $this->getWorkDir($execution); |
||
47 | |||
48 | $handle = opendir($dir); |
||
49 | while (false !== ($entry = readdir($handle))) { |
||
50 | if ($entry != "." && $entry != "..") { |
||
51 | $files[] = $entry; |
||
52 | } |
||
53 | } |
||
54 | |||
55 | return $files; |
||
56 | } |
||
57 | } |