| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 10 | class TranslationHelper implements TranslationHelperInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var TranslatorInterface |
||
| 14 | */ |
||
| 15 | private $translator; |
||
| 16 | |||
| 17 | public function __construct(TranslatorInterface $translator) |
||
| 20 | } |
||
| 21 | |||
| 22 | public function trans(string $id, array $parameters = [], string $domain = null, string $locale = null): string |
||
| 25 | } |
||
| 26 | |||
| 27 | public function transWithPattern(AdminConfiguration $configuration, string $id): string |
||
| 38 |