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