Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | final class SaveFile |
||
15 | { |
||
16 | private OutputWriter $writer; |
||
17 | |||
18 | private OutputFilePath $path; |
||
19 | |||
20 | private ProgressDisplay $display; |
||
21 | |||
22 | public function __construct(OutputWriter $writer, OutputFilePath $path, ProgressDisplay $display) |
||
23 | { |
||
24 | $this->writer = $writer; |
||
25 | $this->path = $path; |
||
26 | $this->display = $display; |
||
27 | } |
||
28 | |||
29 | public function __invoke(OutputContent $content): void |
||
33 | } |
||
34 | } |
||
35 |