コード例 #1
0
 /**
  * Increment the value of an item in the cache.
  *
  * @param  string  $key
  * @param  mixed   $value
  * @return void
  */
 public function increment($key, $value = 1)
 {
     return $this->redis->incrby($this->prefix . $key, $value);
 }