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])
파일 보기 프로젝트 열기: nrk/predis

공개 메소드들

메소드 설명
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