src/DoctrineProxy.php
public function decrement($key, $value = 1, $expiration = 0)
    {
        $new = intval($this->get($key));
        $new -= $value;
        $this->set($key, $new, $expiration);
    }
public function decrement($key, $value = 1, $expiration = 0)
    {
        $new = intval($this->get($key));
        $new -= $value;
        $this->set($key, $new, $expiration);
    }
public function decrement ( $ key , $ value = 1 , $ expiration = 0 ) { $ new = intval ( $ this -> get ( $ key ) ) ; $ new -= $ value ; $ this -> set ( $ key , $ new , $ expiration ) ; }
Decrement a key.

Note: This is not atomic. It is faked in PHP.

@param string $key
@param int    $value
@param int    $expiration
Decrement a key .