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