| 1 | <?php |
||
| 10 | class TranslatorFactory |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param array $config |
||
| 14 | * @return Translator |
||
| 15 | */ |
||
| 16 | 13 | public function createTranslator(array $config, $domain = 'default') |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param Translator $translator |
||
| 36 | * @param I18nRegistrationInterface $package |
||
| 37 | * @param string $locale |
||
| 38 | * @return Translator |
||
| 39 | */ |
||
| 40 | 8 | public function addPackageTranslations(Translator $translator, I18nRegistrationInterface $package, string $locale) |
|
| 52 | } |