Exemple #1
0
 /**
  * Increments a given value by one
  *
  * @param String $key The key for the value
  * @return \r8\Cache\Suffix Returns a self reference
  */
 public function increment($key)
 {
     $this->inner->increment($this->prepareKey($key));
     return $this;
 }
Exemple #2
0
 /**
  * Increments a given value by one
  *
  * @param String $key The key for the value
  * @return \r8\Cache\Group Returns a self reference
  */
 public function increment($key)
 {
     $this->cache->increment($this->modifyKey($key));
     return $this;
 }
Exemple #3
0
 /**
  * Increments a given value by one
  *
  * @param String $key The key for the value
  * @return \r8\Cache\Layered Returns a self reference
  */
 public function increment($key)
 {
     $this->primary->increment($key);
     $this->secondary->increment($key);
     return $this;
 }
Exemple #4
0
 /**
  * Increments a this value by one
  *
  * @return \r8\Cache\Value Returns a self reference
  */
 public function increment()
 {
     $this->cache->increment($this->key);
     return $this;
 }