| 1 | <?php declare(strict_types=1); |
||
| 13 | class SymfonyTranslatorProxy implements ValidatorTranslatorInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var SymfonyTranslatorInterface |
||
| 17 | */ |
||
| 18 | protected $symfonyTranslator; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param SymfonyTranslatorInterface $symfonyTranslator |
||
| 22 | */ |
||
| 23 | 2 | public function __construct(SymfonyTranslatorInterface $symfonyTranslator) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | 1 | public function trans(string $id, array $parameters = []): string |
|
| 35 | } |
||
| 36 |