logout() public method

public logout ( )
Example #1
0
 /**
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function doLogout()
 {
     $this->userOperator->logout();
     return RedirectResponse::create($this->pageStack->getCurrentUrl());
 }