PHP Интерфейс Predis\Command\FactoryInterface

Each Redis command should have a class counterpart and commands factories are used to create new instances of these classes through the library.
Автор: Daniele Alessandri ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

createCommand() публичный Метод

Creates a new command instance.
public createCommand ( string $commandID, array $arguments = [] ) : Predis\Command\CommandInterface
$commandID string Command ID.
$arguments array Arguments for the command.
Результат Predis\Command\CommandInterface

supportsCommand() публичный Метод

Checks if the command factory supports the specified command.
public supportsCommand ( string $commandID ) : boolean
$commandID string Command ID.
Результат boolean

supportsCommands() публичный Метод

Checks if the command factory supports the specified list of commands.
public supportsCommands ( array $commandIDs ) : string
$commandIDs array List of command IDs.
Результат string