Esempio n. 1
0
 /**
  * Destroy an authentication session.
  *
  * @return boolean
  */
 public function logout()
 {
     if ($this->instance instanceof \Skinny\Storage) {
         if ($this->instance->isLocked()) {
             $this->instance->unlock();
         }
         $this->instance->destroy();
     }
     return false;
 }