| @@ 352-358 (lines=7) @@ | ||
| 349 | ||
| 350 | call_user_func($callback, $generatedFiles, $tmpProxyOutputDir); |
|
| 351 | } finally { |
|
| 352 | if ($createOutputDir) { |
|
| 353 | $files = Finder::create() |
|
| 354 | ->in($tmpProxyOutputDir) |
|
| 355 | ->files(); |
|
| 356 | $f = new Filesystem(); |
|
| 357 | $f->remove($files); |
|
| 358 | } |
|
| 359 | } |
|
| 360 | } |
|
| 361 | } |
|
| @@ 101-107 (lines=7) @@ | ||
| 98 | ||
| 99 | call_user_func($callback, $tool, $metaData); |
|
| 100 | } finally { |
|
| 101 | if ($createOutputDir) { |
|
| 102 | $files = Finder::create() |
|
| 103 | ->in($outputDir) |
|
| 104 | ->files(); |
|
| 105 | $f = new Filesystem(); |
|
| 106 | $f->remove($files); |
|
| 107 | } |
|
| 108 | } |
|
| 109 | } |
|
| 110 | ||