Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | trait CopyFilesTrait |
||
11 | { |
||
12 | /** |
||
13 | * Copy a directory. |
||
14 | * |
||
15 | * @param FilesystemInterface $source |
||
16 | * @param FilesystemInterface $destination |
||
17 | * @param string $path |
||
18 | * |
||
19 | * @return void |
||
20 | */ |
||
21 | private function copyDirectory( |
||
28 | } |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Copy a file. |
||
33 | * |
||
34 | * @param FilesystemInterface $source |
||
35 | * @param FilesystemInterface $destination |
||
36 | * @param string $path |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | private function copyFile( |
||
51 |