コード例 #1
0
ファイル: Memcache.php プロジェクト: reoring/sabel
 public function destroy()
 {
     if (!$this->started) {
         $message = __METHOD__ . "() must start the session with start()";
         throw new Sabel_Exception_Runtime($message);
     }
     $this->kvs->delete($this->sessionId);
     $attributes = $this->attributes;
     $this->attributes = array();
     return $attributes;
 }
コード例 #2
0
ファイル: Memcache.php プロジェクト: reoring/sabel
 public function delete($key)
 {
     return $this->kvs->delete($key);
 }