PHP 인터페이스 Predis\Profile\ProfileInterface

저자: Daniele Alessandri ([email protected])
파일 보기 프로젝트 열기: tillkruss/redis-object-cache 0 사용 예제들

공개 메소드들

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