Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | final class CatalogueWriter |
||
26 | { |
||
27 | private $writer; |
||
28 | private $defaultLocale; |
||
29 | |||
30 | public function __construct(TranslationWriterInterface $writer, string $defaultLocale) |
||
31 | { |
||
32 | $this->writer = $writer; |
||
33 | $this->defaultLocale = $defaultLocale; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param MessageCatalogue[] $catalogues |
||
38 | */ |
||
39 | public function writeCatalogues(Configuration $config, array $catalogues): void |
||
49 | ] |
||
50 | ); |
||
54 |