| 1 | <?php |
||
| 19 | class SwitchUserListener implements EventSubscriberInterface |
||
| 20 | { |
||
| 21 | private $invalidator; |
||
| 22 | |||
| 23 | 3 | public function __construct(UserContextInvalidator $invalidator) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | 2 | public static function getSubscribedEvents(): array |
|
| 37 | |||
| 38 | 2 | public function onSwitchUser(SwitchUserEvent $event) |
|
| 43 | } |
||
| 44 |