/** * Proxy function for decrementing a key's value in the data source * * @param $clusterName * @param $key */ public function decrementKey($clusterName, $key) { $cluster = $this->getCluster($clusterName); $client = $this->processNodes($this->getClient(), $cluster->getNodes()); $client->decrementKey(Hash::decode($key)); }
public function testDecode() { $this->assertEquals('is it still snowing?', Hash::decode('F1rLAG_caKql7vEQl-gj1g82_AIyxuAQt1rOX4-K7nQ=')); }