1 | <?php |
||
14 | final class TranslateResponseListener implements EventSubscriberInterface |
||
15 | { |
||
16 | private $translator; |
||
17 | |||
18 | public function __construct(ResponseTranslator $translator) |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public static function getSubscribedEvents() |
||
32 | |||
33 | public function translate(GetResponseForControllerResultEvent $event) |
||
45 | } |
||
46 |