Method | Description | |
---|---|---|
createCommand ( string $commandID, array $arguments = [] ) : Predis\Command\CommandInterface | Creates a new command instance. | |
getVersion ( ) : string | Returns the profile version corresponding to the Redis version. | |
supportsCommand ( string $commandID ) : boolean | Checks if the profile supports the specified command. | |
supportsCommands ( array $commandIDs ) : string | Checks if the profile supports the specified list of commands. |
public createCommand ( string $commandID, array $arguments = [] ) : Predis\Command\CommandInterface | ||
$commandID | string | Command ID. |
$arguments | array | Arguments for the command. |
return | Predis\Command\CommandInterface |
public getVersion ( ) : string | ||
return | string |
public supportsCommand ( string $commandID ) : boolean | ||
$commandID | string | Command ID. |
return | boolean |
public supportsCommands ( array $commandIDs ) : string | ||
$commandIDs | array | List of command IDs. |
return | string |