Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class FileContentGenerator implements FileContentGeneratorInterface |
||
14 | { |
||
15 | /** |
||
16 | * @param array<string,string> $templateByFilenameMap |
||
17 | */ |
||
18 | public function __construct( |
||
19 | private readonly FileContentIoInterface $fileContentIo, |
||
20 | private array $templateByFilenameMap, |
||
21 | ) { |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return string path result where the file was generated |
||
26 | */ |
||
27 | #[Override] |
||
49 | } |
||
50 | } |
||
51 |