Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | private function cp(OutputInterface $output, $source, $target) |
||
|
|||
25 | { |
||
26 | $command = $this->getApplication()->find('filesystem:copy'); |
||
27 | |||
28 | $input = new ArrayInput([ |
||
29 | 'command' => $command->getName(), |
||
30 | '--source' => $source, |
||
31 | '--target' => $target, |
||
32 | '-f', |
||
33 | ]); |
||
34 | |||
35 | return $command->run($input, $output); |
||
36 | } |
||
37 | } |
||
38 |