destroy() static public method

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