destroy() static public méthode

Destroys a session
static public destroy ( )
Exemple #1
0
 /**
  * Alternative for s::destroy()
  */
 public static function stop()
 {
     s::destroy();
 }
 public static function logout()
 {
     s::destroy();
     cookie::remove(s::$name . '_auth');
 }
 function tearDown()
 {
     s::destroy();
 }