Пример #1
0
 public function logout()
 {
     if ($this->isAuthenticated()) {
         $this->auth->logout();
         $this->user = null;
     }
 }