kill() public method

Destroy the session.
public kill ( ) : void
return void
Example #1
0
 public function logout()
 {
     $this->sess->kill();
     $this->redirect('/login');
 }