| 1 | <?php |
||
| 13 | final class TranslateRequestListener implements EventSubscriberInterface |
||
| 14 | { |
||
| 15 | private $translator; |
||
| 16 | |||
| 17 | 4 | public function __construct(RequestTranslator $translator) |
|
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | 38 | public static function getSubscribedEvents() |
|
| 31 | |||
| 32 | 2 | public function translate(GetResponseEvent $event) |
|
| 40 | } |
||
| 41 |