예제 #1
0
 /**
  * Remove an item from the cache.
  *
  * @param mixed $key
  */
 public function forget($key)
 {
     if (is_array($key)) {
         return $this->forgetMulti($key);
     }
     return parent::forget($key);
 }
예제 #2
0
파일: Memcached.php 프로젝트: Devitek/orm
 /**
  * {@inheritdoc}
  */
 protected function doDelete($id)
 {
     return $this->store->forget($id);
 }
예제 #3
0
 /**
  * Remove an item from the cache.
  *
  * @param string $key
  * @return void 
  * @static 
  */
 public static function forget($key)
 {
     \Illuminate\Cache\MemcachedStore::forget($key);
 }