mirror of
https://github.com/predis/predis.git
synced 2026-09-14 04:17:14 +00:00
Implemented RedisServerProfile::supportsCommand.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user