public function testSRem() { $this->_client->sAdd('foo', 'bar'); $this->assertSame(1, $this->_client->sCard('foo')); $this->_client->sRem('foo', 'bar'); $this->assertSame(0, $this->_client->sCard('foo')); }
/** * @param string $key * @param string $value */ public function delete($key, $value) { $this->_redisClient->sRem($key, $value); }