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