| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 9 | class TranslationExtension extends AbstractExtension |
||
| 10 | { |
||
| 11 | private TranslationHelperInterface $translationHelper; |
||
| 12 | |||
| 13 | public function __construct(TranslationHelperInterface $translationHelper) |
||
| 14 | { |
||
| 15 | $this->translationHelper = $translationHelper; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getFilters(): array |
||
| 23 | ]; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function translate( |
||
| 35 | } |
||
| 36 | |||
| 37 | public function translateUI(string $id, array $parameters = []): string |
||
| 40 | } |
||
| 41 | } |
||
| 42 |