|
@@ -1637,127 +1637,74 @@ class RedisServer_v1_2 extends RedisServerProfile {
|
|
/* commands operating on string values */
|
|
/* commands operating on string values */
|
|
'set' => '\Predis\Commands\Set',
|
|
'set' => '\Predis\Commands\Set',
|
|
'setnx' => '\Predis\Commands\SetPreserve',
|
|
'setnx' => '\Predis\Commands\SetPreserve',
|
|
- 'setPreserve' => '\Predis\Commands\SetPreserve',
|
|
|
|
'mset' => '\Predis\Commands\SetMultiple',
|
|
'mset' => '\Predis\Commands\SetMultiple',
|
|
- 'setMultiple' => '\Predis\Commands\SetMultiple',
|
|
|
|
'msetnx' => '\Predis\Commands\SetMultiplePreserve',
|
|
'msetnx' => '\Predis\Commands\SetMultiplePreserve',
|
|
- 'setMultiplePreserve' => '\Predis\Commands\SetMultiplePreserve',
|
|
|
|
'get' => '\Predis\Commands\Get',
|
|
'get' => '\Predis\Commands\Get',
|
|
'mget' => '\Predis\Commands\GetMultiple',
|
|
'mget' => '\Predis\Commands\GetMultiple',
|
|
- 'getMultiple' => '\Predis\Commands\GetMultiple',
|
|
|
|
'getset' => '\Predis\Commands\GetSet',
|
|
'getset' => '\Predis\Commands\GetSet',
|
|
- 'getSet' => '\Predis\Commands\GetSet',
|
|
|
|
'incr' => '\Predis\Commands\Increment',
|
|
'incr' => '\Predis\Commands\Increment',
|
|
- 'increment' => '\Predis\Commands\Increment',
|
|
|
|
'incrby' => '\Predis\Commands\IncrementBy',
|
|
'incrby' => '\Predis\Commands\IncrementBy',
|
|
- 'incrementBy' => '\Predis\Commands\IncrementBy',
|
|
|
|
'decr' => '\Predis\Commands\Decrement',
|
|
'decr' => '\Predis\Commands\Decrement',
|
|
- 'decrement' => '\Predis\Commands\Decrement',
|
|
|
|
'decrby' => '\Predis\Commands\DecrementBy',
|
|
'decrby' => '\Predis\Commands\DecrementBy',
|
|
- 'decrementBy' => '\Predis\Commands\DecrementBy',
|
|
|
|
'exists' => '\Predis\Commands\Exists',
|
|
'exists' => '\Predis\Commands\Exists',
|
|
'del' => '\Predis\Commands\Delete',
|
|
'del' => '\Predis\Commands\Delete',
|
|
- 'delete' => '\Predis\Commands\Delete',
|
|
|
|
'type' => '\Predis\Commands\Type',
|
|
'type' => '\Predis\Commands\Type',
|
|
|
|
|
|
/* commands operating on the key space */
|
|
/* commands operating on the key space */
|
|
'keys' => '\Predis\Commands\Keys',
|
|
'keys' => '\Predis\Commands\Keys',
|
|
'randomkey' => '\Predis\Commands\RandomKey',
|
|
'randomkey' => '\Predis\Commands\RandomKey',
|
|
- 'randomKey' => '\Predis\Commands\RandomKey',
|
|
|
|
'rename' => '\Predis\Commands\Rename',
|
|
'rename' => '\Predis\Commands\Rename',
|
|
'renamenx' => '\Predis\Commands\RenamePreserve',
|
|
'renamenx' => '\Predis\Commands\RenamePreserve',
|
|
- 'renamePreserve' => '\Predis\Commands\RenamePreserve',
|
|
|
|
'expire' => '\Predis\Commands\Expire',
|
|
'expire' => '\Predis\Commands\Expire',
|
|
'expireat' => '\Predis\Commands\ExpireAt',
|
|
'expireat' => '\Predis\Commands\ExpireAt',
|
|
- 'expireAt' => '\Predis\Commands\ExpireAt',
|
|
|
|
'dbsize' => '\Predis\Commands\DatabaseSize',
|
|
'dbsize' => '\Predis\Commands\DatabaseSize',
|
|
- 'databaseSize' => '\Predis\Commands\DatabaseSize',
|
|
|
|
'ttl' => '\Predis\Commands\TimeToLive',
|
|
'ttl' => '\Predis\Commands\TimeToLive',
|
|
- 'timeToLive' => '\Predis\Commands\TimeToLive',
|
|
|
|
|
|
|
|
/* commands operating on lists */
|
|
/* commands operating on lists */
|
|
'rpush' => '\Predis\Commands\ListPushTail',
|
|
'rpush' => '\Predis\Commands\ListPushTail',
|
|
- 'pushTail' => '\Predis\Commands\ListPushTail',
|
|
|
|
'lpush' => '\Predis\Commands\ListPushHead',
|
|
'lpush' => '\Predis\Commands\ListPushHead',
|
|
- 'pushHead' => '\Predis\Commands\ListPushHead',
|
|
|
|
'llen' => '\Predis\Commands\ListLength',
|
|
'llen' => '\Predis\Commands\ListLength',
|
|
- 'listLength' => '\Predis\Commands\ListLength',
|
|
|
|
'lrange' => '\Predis\Commands\ListRange',
|
|
'lrange' => '\Predis\Commands\ListRange',
|
|
- 'listRange' => '\Predis\Commands\ListRange',
|
|
|
|
'ltrim' => '\Predis\Commands\ListTrim',
|
|
'ltrim' => '\Predis\Commands\ListTrim',
|
|
- 'listTrim' => '\Predis\Commands\ListTrim',
|
|
|
|
'lindex' => '\Predis\Commands\ListIndex',
|
|
'lindex' => '\Predis\Commands\ListIndex',
|
|
- 'listIndex' => '\Predis\Commands\ListIndex',
|
|
|
|
'lset' => '\Predis\Commands\ListSet',
|
|
'lset' => '\Predis\Commands\ListSet',
|
|
- 'listSet' => '\Predis\Commands\ListSet',
|
|
|
|
'lrem' => '\Predis\Commands\ListRemove',
|
|
'lrem' => '\Predis\Commands\ListRemove',
|
|
- 'listRemove' => '\Predis\Commands\ListRemove',
|
|
|
|
'lpop' => '\Predis\Commands\ListPopFirst',
|
|
'lpop' => '\Predis\Commands\ListPopFirst',
|
|
- 'popFirst' => '\Predis\Commands\ListPopFirst',
|
|
|
|
'rpop' => '\Predis\Commands\ListPopLast',
|
|
'rpop' => '\Predis\Commands\ListPopLast',
|
|
- 'popLast' => '\Predis\Commands\ListPopLast',
|
|
|
|
'rpoplpush' => '\Predis\Commands\ListPopLastPushHead',
|
|
'rpoplpush' => '\Predis\Commands\ListPopLastPushHead',
|
|
- 'listPopLastPushHead' => '\Predis\Commands\ListPopLastPushHead',
|
|
|
|
|
|
|
|
/* commands operating on sets */
|
|
/* commands operating on sets */
|
|
'sadd' => '\Predis\Commands\SetAdd',
|
|
'sadd' => '\Predis\Commands\SetAdd',
|
|
- 'setAdd' => '\Predis\Commands\SetAdd',
|
|
|
|
'srem' => '\Predis\Commands\SetRemove',
|
|
'srem' => '\Predis\Commands\SetRemove',
|
|
- 'setRemove' => '\Predis\Commands\SetRemove',
|
|
|
|
'spop' => '\Predis\Commands\SetPop',
|
|
'spop' => '\Predis\Commands\SetPop',
|
|
- 'setPop' => '\Predis\Commands\SetPop',
|
|
|
|
'smove' => '\Predis\Commands\SetMove',
|
|
'smove' => '\Predis\Commands\SetMove',
|
|
- 'setMove' => '\Predis\Commands\SetMove',
|
|
|
|
'scard' => '\Predis\Commands\SetCardinality',
|
|
'scard' => '\Predis\Commands\SetCardinality',
|
|
- 'setCardinality' => '\Predis\Commands\SetCardinality',
|
|
|
|
'sismember' => '\Predis\Commands\SetIsMember',
|
|
'sismember' => '\Predis\Commands\SetIsMember',
|
|
- 'setIsMember' => '\Predis\Commands\SetIsMember',
|
|
|
|
'sinter' => '\Predis\Commands\SetIntersection',
|
|
'sinter' => '\Predis\Commands\SetIntersection',
|
|
- 'setIntersection' => '\Predis\Commands\SetIntersection',
|
|
|
|
'sinterstore' => '\Predis\Commands\SetIntersectionStore',
|
|
'sinterstore' => '\Predis\Commands\SetIntersectionStore',
|
|
- 'setIntersectionStore' => '\Predis\Commands\SetIntersectionStore',
|
|
|
|
'sunion' => '\Predis\Commands\SetUnion',
|
|
'sunion' => '\Predis\Commands\SetUnion',
|
|
- 'setUnion' => '\Predis\Commands\SetUnion',
|
|
|
|
'sunionstore' => '\Predis\Commands\SetUnionStore',
|
|
'sunionstore' => '\Predis\Commands\SetUnionStore',
|
|
- 'setUnionStore' => '\Predis\Commands\SetUnionStore',
|
|
|
|
'sdiff' => '\Predis\Commands\SetDifference',
|
|
'sdiff' => '\Predis\Commands\SetDifference',
|
|
- 'setDifference' => '\Predis\Commands\SetDifference',
|
|
|
|
'sdiffstore' => '\Predis\Commands\SetDifferenceStore',
|
|
'sdiffstore' => '\Predis\Commands\SetDifferenceStore',
|
|
- 'setDifferenceStore' => '\Predis\Commands\SetDifferenceStore',
|
|
|
|
'smembers' => '\Predis\Commands\SetMembers',
|
|
'smembers' => '\Predis\Commands\SetMembers',
|
|
- 'setMembers' => '\Predis\Commands\SetMembers',
|
|
|
|
'srandmember' => '\Predis\Commands\SetRandomMember',
|
|
'srandmember' => '\Predis\Commands\SetRandomMember',
|
|
- 'setRandomMember' => '\Predis\Commands\SetRandomMember',
|
|
|
|
|
|
|
|
/* commands operating on sorted sets */
|
|
/* commands operating on sorted sets */
|
|
'zadd' => '\Predis\Commands\ZSetAdd',
|
|
'zadd' => '\Predis\Commands\ZSetAdd',
|
|
- 'zsetAdd' => '\Predis\Commands\ZSetAdd',
|
|
|
|
'zincrby' => '\Predis\Commands\ZSetIncrementBy',
|
|
'zincrby' => '\Predis\Commands\ZSetIncrementBy',
|
|
- 'zsetIncrementBy' => '\Predis\Commands\ZSetIncrementBy',
|
|
|
|
'zrem' => '\Predis\Commands\ZSetRemove',
|
|
'zrem' => '\Predis\Commands\ZSetRemove',
|
|
- 'zsetRemove' => '\Predis\Commands\ZSetRemove',
|
|
|
|
'zrange' => '\Predis\Commands\ZSetRange',
|
|
'zrange' => '\Predis\Commands\ZSetRange',
|
|
- 'zsetRange' => '\Predis\Commands\ZSetRange',
|
|
|
|
'zrevrange' => '\Predis\Commands\ZSetReverseRange',
|
|
'zrevrange' => '\Predis\Commands\ZSetReverseRange',
|
|
- 'zsetReverseRange' => '\Predis\Commands\ZSetReverseRange',
|
|
|
|
'zrangebyscore' => '\Predis\Commands\ZSetRangeByScore',
|
|
'zrangebyscore' => '\Predis\Commands\ZSetRangeByScore',
|
|
- 'zsetRangeByScore' => '\Predis\Commands\ZSetRangeByScore',
|
|
|
|
'zcard' => '\Predis\Commands\ZSetCardinality',
|
|
'zcard' => '\Predis\Commands\ZSetCardinality',
|
|
- 'zsetCardinality' => '\Predis\Commands\ZSetCardinality',
|
|
|
|
'zscore' => '\Predis\Commands\ZSetScore',
|
|
'zscore' => '\Predis\Commands\ZSetScore',
|
|
- 'zsetScore' => '\Predis\Commands\ZSetScore',
|
|
|
|
'zremrangebyscore' => '\Predis\Commands\ZSetRemoveRangeByScore',
|
|
'zremrangebyscore' => '\Predis\Commands\ZSetRemoveRangeByScore',
|
|
- 'zsetRemoveRangeByScore' => '\Predis\Commands\ZSetRemoveRangeByScore',
|
|
|
|
|
|
|
|
/* multiple databases handling commands */
|
|
/* multiple databases handling commands */
|
|
'select' => '\Predis\Commands\SelectDatabase',
|
|
'select' => '\Predis\Commands\SelectDatabase',
|
|
- 'selectDatabase' => '\Predis\Commands\SelectDatabase',
|
|
|
|
'move' => '\Predis\Commands\MoveKey',
|
|
'move' => '\Predis\Commands\MoveKey',
|
|
- 'moveKey' => '\Predis\Commands\MoveKey',
|
|
|
|
'flushdb' => '\Predis\Commands\FlushDatabase',
|
|
'flushdb' => '\Predis\Commands\FlushDatabase',
|
|
- 'flushDatabase' => '\Predis\Commands\FlushDatabase',
|
|
|
|
'flushall' => '\Predis\Commands\FlushAll',
|
|
'flushall' => '\Predis\Commands\FlushAll',
|
|
- 'flushDatabases' => '\Predis\Commands\FlushAll',
|
|
|
|
|
|
|
|
/* sorting */
|
|
/* sorting */
|
|
'sort' => '\Predis\Commands\Sort',
|
|
'sort' => '\Predis\Commands\Sort',
|
|
@@ -1765,17 +1712,13 @@ class RedisServer_v1_2 extends RedisServerProfile {
|
|
/* remote server control commands */
|
|
/* remote server control commands */
|
|
'info' => '\Predis\Commands\Info',
|
|
'info' => '\Predis\Commands\Info',
|
|
'slaveof' => '\Predis\Commands\SlaveOf',
|
|
'slaveof' => '\Predis\Commands\SlaveOf',
|
|
- 'slaveOf' => '\Predis\Commands\SlaveOf',
|
|
|
|
|
|
|
|
/* persistence control commands */
|
|
/* persistence control commands */
|
|
'save' => '\Predis\Commands\Save',
|
|
'save' => '\Predis\Commands\Save',
|
|
'bgsave' => '\Predis\Commands\BackgroundSave',
|
|
'bgsave' => '\Predis\Commands\BackgroundSave',
|
|
- 'backgroundSave' => '\Predis\Commands\BackgroundSave',
|
|
|
|
'lastsave' => '\Predis\Commands\LastSave',
|
|
'lastsave' => '\Predis\Commands\LastSave',
|
|
- 'lastSave' => '\Predis\Commands\LastSave',
|
|
|
|
'shutdown' => '\Predis\Commands\Shutdown',
|
|
'shutdown' => '\Predis\Commands\Shutdown',
|
|
- 'bgrewriteaof' => '\Predis\Commands\BackgroundRewriteAppendOnlyFile',
|
|
|
|
- 'backgroundRewriteAppendOnlyFile' => '\Predis\Commands\BackgroundRewriteAppendOnlyFile',
|
|
|
|
|
|
+ 'bgrewriteaof' => '\Predis\Commands\BackgroundRewriteAppendOnlyFile',
|
|
);
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1791,55 +1734,34 @@ class RedisServer_v2_0 extends RedisServer_v1_2 {
|
|
|
|
|
|
/* commands operating on string values */
|
|
/* commands operating on string values */
|
|
'setex' => '\Predis\Commands\SetExpire',
|
|
'setex' => '\Predis\Commands\SetExpire',
|
|
- 'setExpire' => '\Predis\Commands\SetExpire',
|
|
|
|
'append' => '\Predis\Commands\Append',
|
|
'append' => '\Predis\Commands\Append',
|
|
'substr' => '\Predis\Commands\Substr',
|
|
'substr' => '\Predis\Commands\Substr',
|
|
|
|
|
|
/* commands operating on lists */
|
|
/* commands operating on lists */
|
|
'blpop' => '\Predis\Commands\ListPopFirstBlocking',
|
|
'blpop' => '\Predis\Commands\ListPopFirstBlocking',
|
|
- 'popFirstBlocking' => '\Predis\Commands\ListPopFirstBlocking',
|
|
|
|
'brpop' => '\Predis\Commands\ListPopLastBlocking',
|
|
'brpop' => '\Predis\Commands\ListPopLastBlocking',
|
|
- 'popLastBlocking' => '\Predis\Commands\ListPopLastBlocking',
|
|
|
|
|
|
|
|
/* commands operating on sorted sets */
|
|
/* commands operating on sorted sets */
|
|
'zunionstore' => '\Predis\Commands\ZSetUnionStore',
|
|
'zunionstore' => '\Predis\Commands\ZSetUnionStore',
|
|
- 'zsetUnionStore' => '\Predis\Commands\ZSetUnionStore',
|
|
|
|
'zinterstore' => '\Predis\Commands\ZSetIntersectionStore',
|
|
'zinterstore' => '\Predis\Commands\ZSetIntersectionStore',
|
|
- 'zsetIntersectionStore' => '\Predis\Commands\ZSetIntersectionStore',
|
|
|
|
'zcount' => '\Predis\Commands\ZSetCount',
|
|
'zcount' => '\Predis\Commands\ZSetCount',
|
|
- 'zsetCount' => '\Predis\Commands\ZSetCount',
|
|
|
|
'zrank' => '\Predis\Commands\ZSetRank',
|
|
'zrank' => '\Predis\Commands\ZSetRank',
|
|
- 'zsetRank' => '\Predis\Commands\ZSetRank',
|
|
|
|
'zrevrank' => '\Predis\Commands\ZSetReverseRank',
|
|
'zrevrank' => '\Predis\Commands\ZSetReverseRank',
|
|
- 'zsetReverseRank' => '\Predis\Commands\ZSetReverseRank',
|
|
|
|
'zremrangebyrank' => '\Predis\Commands\ZSetRemoveRangeByRank',
|
|
'zremrangebyrank' => '\Predis\Commands\ZSetRemoveRangeByRank',
|
|
- 'zsetRemoveRangeByRank' => '\Predis\Commands\ZSetRemoveRangeByRank',
|
|
|
|
|
|
|
|
/* commands operating on hashes */
|
|
/* commands operating on hashes */
|
|
'hset' => '\Predis\Commands\HashSet',
|
|
'hset' => '\Predis\Commands\HashSet',
|
|
- 'hashSet' => '\Predis\Commands\HashSet',
|
|
|
|
'hsetnx' => '\Predis\Commands\HashSetPreserve',
|
|
'hsetnx' => '\Predis\Commands\HashSetPreserve',
|
|
- 'hashSetPreserve' => '\Predis\Commands\HashSetPreserve',
|
|
|
|
'hmset' => '\Predis\Commands\HashSetMultiple',
|
|
'hmset' => '\Predis\Commands\HashSetMultiple',
|
|
- 'hashSetMultiple' => '\Predis\Commands\HashSetMultiple',
|
|
|
|
'hincrby' => '\Predis\Commands\HashIncrementBy',
|
|
'hincrby' => '\Predis\Commands\HashIncrementBy',
|
|
- 'hashIncrementBy' => '\Predis\Commands\HashIncrementBy',
|
|
|
|
'hget' => '\Predis\Commands\HashGet',
|
|
'hget' => '\Predis\Commands\HashGet',
|
|
- 'hashGet' => '\Predis\Commands\HashGet',
|
|
|
|
'hmget' => '\Predis\Commands\HashGetMultiple',
|
|
'hmget' => '\Predis\Commands\HashGetMultiple',
|
|
- 'hashGetMultiple' => '\Predis\Commands\HashGetMultiple',
|
|
|
|
'hdel' => '\Predis\Commands\HashDelete',
|
|
'hdel' => '\Predis\Commands\HashDelete',
|
|
- 'hashDelete' => '\Predis\Commands\HashDelete',
|
|
|
|
'hexists' => '\Predis\Commands\HashExists',
|
|
'hexists' => '\Predis\Commands\HashExists',
|
|
- 'hashExists' => '\Predis\Commands\HashExists',
|
|
|
|
'hlen' => '\Predis\Commands\HashLength',
|
|
'hlen' => '\Predis\Commands\HashLength',
|
|
- 'hashLength' => '\Predis\Commands\HashLength',
|
|
|
|
'hkeys' => '\Predis\Commands\HashKeys',
|
|
'hkeys' => '\Predis\Commands\HashKeys',
|
|
- 'hashKeys' => '\Predis\Commands\HashKeys',
|
|
|
|
'hvals' => '\Predis\Commands\HashValues',
|
|
'hvals' => '\Predis\Commands\HashValues',
|
|
- 'hashValues' => '\Predis\Commands\HashValues',
|
|
|
|
'hgetall' => '\Predis\Commands\HashGetAll',
|
|
'hgetall' => '\Predis\Commands\HashGetAll',
|
|
- 'hashGetAll' => '\Predis\Commands\HashGetAll',
|
|
|
|
|
|
|
|
/* publish - subscribe */
|
|
/* publish - subscribe */
|
|
'subscribe' => '\Predis\Commands\Subscribe',
|
|
'subscribe' => '\Predis\Commands\Subscribe',
|
|
@@ -1850,7 +1772,6 @@ class RedisServer_v2_0 extends RedisServer_v1_2 {
|
|
|
|
|
|
/* remote server control commands */
|
|
/* remote server control commands */
|
|
'config' => '\Predis\Commands\Config',
|
|
'config' => '\Predis\Commands\Config',
|
|
- 'configuration' => '\Predis\Commands\Config',
|
|
|
|
));
|
|
));
|
|
}
|
|
}
|
|
}
|
|
}
|