예제 #1
0
 public function logoutCurrentUser()
 {
     $session = $this->env->getSession();
     $session->unsetValue('user');
     $session->unsetValue('justRegistered');
     $this->justRegistered = null;
     $this->user = null;
 }
예제 #2
0
 /**
  * @return LoginNotificatorInterface
  */
 private function getLoginNotificator()
 {
     return $this->env->getDIC()->get('LoginNotificatorInterface');
 }