Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class TranslatorFactory |
||
11 | { |
||
12 | /** |
||
13 | * @param array $config |
||
14 | * @return Translator |
||
15 | */ |
||
16 | 4 | public function createTranslator(array $config, $domain = 'default') |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param Translator $translator |
||
36 | * @param I18nRegistrationInterface $package |
||
37 | * @param string $locale |
||
38 | * @return Translator |
||
39 | */ |
||
40 | 4 | public function addPackageTranslations(Translator $translator, I18nRegistrationInterface $package, string $locale) |
|
51 | } |
||
52 | } |