public function write($key, $value, $timeout = 0) { $this->kvs->write($key, $value, $timeout); }
public function destruct() { if ($this->started && (!$this->newSession || !empty($this->attributes))) { $this->kvs->write($this->sessionId, $this->attributes, $this->maxLifetime); } }