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