| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function transform(TranslationValueInterface $translationValue): string |
||
| 16 | { |
||
| 17 | $translation = $translationValue->getTranslation(); |
||
| 18 | if (null === $translation) { |
||
| 19 | return ''; |
||
| 20 | } |
||
| 21 | |||
| 22 | return sprintf( |
||
| 23 | '[%s][%s][%s][%s]', |
||
| 24 | $translationValue->getTheme(), |
||
| 25 | $translation->getDomainName(), |
||
| 26 | $translation->getKey(), |
||
| 27 | $translationValue->getLocaleCode() |
||
| 28 | ); |
||
| 57 |