Example #1
0
 public function getSupportedCommands()
 {
     return array_merge(parent::getSupportedCommands(), array('multi' => '\\Predis\\Commands\\Multi', 'exec' => '\\Predis\\Commands\\Exec', 'discard' => '\\Predis\\Commands\\Discard', 'append' => '\\Predis\\Commands\\Append', 'substr' => '\\Predis\\Commands\\Substr', 'blpop' => '\\Predis\\Commands\\ListPopFirstBlocking', 'popFirstBlocking' => '\\Predis\\Commands\\ListPopFirstBlocking', 'brpop' => '\\Predis\\Commands\\ListPopLastBlocking', 'popLastBlocking' => '\\Predis\\Commands\\ListPopLastBlocking', 'zunion' => '\\Predis\\Commands\\ZSetUnion', 'zsetUnion' => '\\Predis\\Commands\\ZSetUnion', 'zinter' => '\\Predis\\Commands\\ZSetIntersection', 'zsetIntersection' => '\\Predis\\Commands\\ZSetIntersection', 'zcount' => '\\Predis\\Commands\\ZSetCount', 'zsetCount' => '\\Predis\\Commands\\ZSetCount', 'zrank' => '\\Predis\\Commands\\ZSetRank', 'zsetRank' => '\\Predis\\Commands\\ZSetRank', 'zrevrank' => '\\Predis\\Commands\\ZSetReverseRank', 'zsetReverseRank' => '\\Predis\\Commands\\ZSetReverseRank', 'zremrangebyrank' => '\\Predis\\Commands\\ZSetRemoveRangeByRank', 'zsetRemoveRangeByRank' => '\\Predis\\Commands\\ZSetRemoveRangeByRank', 'hset' => '\\Predis\\Commands\\HashSet', 'hashSet' => '\\Predis\\Commands\\HashSet', 'hincrby' => '\\Predis\\Commands\\HashIncrementBy', 'hashIncrementBy' => '\\Predis\\Commands\\HashIncrementBy', 'hget' => '\\Predis\\Commands\\HashGet', 'hashGet' => '\\Predis\\Commands\\HashGet', 'hdel' => '\\Predis\\Commands\\HashDelete', 'hashDelete' => '\\Predis\\Commands\\HashDelete', 'hexists' => '\\Predis\\Commands\\HashExists', 'hashExists' => '\\Predis\\Commands\\HashExists', 'hlen' => '\\Predis\\Commands\\HashLength', 'hashLength' => '\\Predis\\Commands\\HashLength', 'hkeys' => '\\Predis\\Commands\\HashKeys', 'hashKeys' => '\\Predis\\Commands\\HashKeys', 'hvals' => '\\Predis\\Commands\\HashValues', 'hashValues' => '\\Predis\\Commands\\HashValues', 'hgetall' => '\\Predis\\Commands\\HashGetAll', 'hashKeysValues' => '\\Predis\\Commands\\HashGetAll', 'config' => '\\Predis\\Commands\\Config', 'configuration' => '\\Predis\\Commands\\Config'));
 }
Example #2
0
 public function getSupportedCommands()
 {
     return array_merge(parent::getSupportedCommands(), array('multi' => '\\Predis\\Commands\\Multi', 'exec' => '\\Predis\\Commands\\Exec', 'blpop' => '\\Predis\\Commands\\ListPopFirstBlocking', 'popFirstBlocking' => '\\Predis\\Commands\\ListPopFirstBlocking', 'brpop' => '\\Predis\\Commands\\ListPopLastBlocking', 'popLastBlocking' => '\\Predis\\Commands\\ListPopLastBlocking'));
 }