| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 11 | class TranslationExtension extends AbstractExtension |
||
| 12 | { |
||
| 13 | private TranslationHelperInterface $translationHelper; |
||
| 14 | |||
| 15 | public function __construct(TranslationHelperInterface $translationHelper) |
||
| 16 | { |
||
| 17 | $this->translationHelper = $translationHelper; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getFilters(): array |
||
| 25 | ]; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function translate( |
||
| 37 | } |
||
| 38 | |||
| 39 | public function translateUI(string $id, array $parameters = []): string |
||
| 42 | } |
||
| 43 | } |
||
| 44 |