예제 #1
0
파일: Memcache.php 프로젝트: reoring/sabel
 public function write($key, $value, $timeout = 0)
 {
     $this->kvs->write($key, $value, $timeout);
 }
예제 #2
0
파일: Memcache.php 프로젝트: reoring/sabel
 public function destruct()
 {
     if ($this->started && (!$this->newSession || !empty($this->attributes))) {
         $this->kvs->write($this->sessionId, $this->attributes, $this->maxLifetime);
     }
 }