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; }
public function delete($key) { return $this->kvs->delete($key); }