| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class TranslatedMessageImporter |
||
| 15 | { |
||
| 16 | /** @var MessageStorage */ |
||
| 17 | private $storage; |
||
| 18 | |||
| 19 | /** @var MessageConfigInterface */ |
||
| 20 | private $config; |
||
| 21 | |||
| 22 | 3 | public function __construct(MessageConfigInterface $config, MessageStorage $storage) |
|
| 26 | 3 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param Translations $translations |
||
| 30 | * |
||
| 31 | * @throws UnsupportedLocaleException |
||
| 32 | * @throws UnsupportedDomainException |
||
| 33 | * @throws InvalidTranslationException |
||
| 34 | */ |
||
| 35 | 3 | public function importFromTranslations(Translations $translations) |
|
| 49 | } |
||
| 50 | } |