Метод | Описание | |
---|---|---|
createCommand ( string $commandID, array $arguments = [] ) : Predis\Command\CommandInterface | Creates a new command instance. | |
supportsCommand ( string $commandID ) : boolean | Checks if the command factory supports the specified command. | |
supportsCommands ( array $commandIDs ) : string | Checks if the command factory 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. |
Результат | Predis\Command\CommandInterface |
public supportsCommand ( string $commandID ) : boolean | ||
$commandID | string | Command ID. |
Результат | boolean |
public supportsCommands ( array $commandIDs ) : string | ||
$commandIDs | array | List of command IDs. |
Результат | string |