Implemented RedisServerProfile::supportsCommand.

This commit is contained in:
Daniele Alessandri
2009-12-30 13:49:48 +01:00
parent 7c6e03edae
commit a4e067891a
+4
View File
@@ -698,6 +698,10 @@ abstract class RedisServerProfile {
return new $defaultProfile();
}
public function supportsCommand($command) {
return isset($this->_registeredCommands[$command]);
}
public function createCommand($method, $arguments = array()) {
$commandClass = $this->_registeredCommands[$method];