PHP Интерфейс Predis\Profile\ProfileInterface

Автор: Daniele Alessandri ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

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

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

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

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

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

Returns the profile version corresponding to the Redis version.
public getVersion ( ) : string
Результат string

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

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

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

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