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