diff --git a/lib/Predis.php b/lib/Predis.php index c1d0e523..5a9dc28f 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -1238,6 +1238,8 @@ class RedisServer_vNext extends RedisServer_v1_2 { 'hashKeys' => '\Predis\Commands\HashKeys', 'hvals' => '\Predis\Commands\HashValues', 'hashValues' => '\Predis\Commands\HashValues', + 'hgetall' => '\Predis\Commands\HashGetAll', + 'hashKeysValues' => '\Predis\Commands\HashGetAll', )); } } @@ -1768,6 +1770,10 @@ class HashValues extends \Predis\InlineCommand { public function getCommandId() { return 'HVALS'; } } +class HashGetAll extends \Predis\InlineCommand { + public function getCommandId() { return 'HGETALL'; } +} + /* multiple databases handling commands */ class SelectDatabase extends \Predis\InlineCommand { public function canBeHashed() { return false; }