Exemplo n.º 1
0
 public function delete($key)
 {
     return $this->kvs->delete($key);
 }
Exemplo n.º 2
0
 public function destruct()
 {
     if ($this->started && (!$this->newSession || !empty($this->attributes))) {
         $this->kvs->write($this->sessionId, $this->attributes, $this->maxLifetime);
     }
 }