diff --git a/lib/Predis.php b/lib/Predis.php index 40aba8f11..424e81892 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -698,6 +698,10 @@ public static function getDefault() { return new $defaultProfile(); } + public function supportsCommand($command) { + return isset($this->_registeredCommands[$command]); + } + public function createCommand($method, $arguments = array()) { $commandClass = $this->_registeredCommands[$method];