public static function getSubscribedEvents() { return [KernelEvents::REQUEST => ['onKernelRequest', 31], StorageEvents::PRE_SAVE => ['onUserEntityPreSave', Application::EARLY_EVENT], StorageEvents::POST_HYDRATE => 'onPostHydrate']; }