コード例 #1
0
 /**
  * Logs out the current user.
  *
  * @return mixed
  */
 public function actionLogout()
 {
     $user = new User();
     $user->logOut();
     return $this->goHome();
 }