public function handleConnectionOpen(ConnectionOpenEvent $event) { $event->session->dispatcher->addRealmSubscriber($this); }