Ejemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public function decr($key)
 {
     return $this->predis->decr($key);
 }
Ejemplo n.º 2
0
 /**
  * @group redis-strings
  */
 public function testDecrement()
 {
     $this->assertEquals(-1, $this->client->decr('foo'));
     $this->assertEquals(-2, $this->client->decr('foo'));
 }