Example #1
0
 public function logout()
 {
     $this->authorize();
     $authenticator = new Authenticator($this->userMapper);
     $authenticator->logOut();
     return $this->redirect('login');
 }