PHP 클래스 Predis\Command\RawCommand

This command class does not filter input arguments or parse responses, but can be used to leverage the standard Predis API to execute any command simply by providing the needed arguments following the command signature as defined by Redis in its documentation.
저자: Daniele Alessandri ([email protected])
상속: implements Predis\Command\CommandInterface
파일 보기 프로젝트 열기: nrk/predis 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $commandID, array $arguments = [] )
create ( string $commandID ) : Predis\Command\CommandInterface Creates a new raw command using a variadic method.
getArgument ( $index )
getArguments ( )
getId ( )
getSlot ( )
parseResponse ( $data )
setArguments ( array $arguments )
setRawArguments ( array $arguments )
setSlot ( $slot )

메소드 상세

__construct() 공개 메소드

public __construct ( string $commandID, array $arguments = [] )
$commandID string Command ID.
$arguments array Command arguments.

create() 공개 정적인 메소드

Creates a new raw command using a variadic method.
public static create ( string $commandID ) : Predis\Command\CommandInterface
$commandID string Redis command ID.
리턴 Predis\Command\CommandInterface

getArgument() 공개 메소드

public getArgument ( $index )

getArguments() 공개 메소드

public getArguments ( )

getId() 공개 메소드

public getId ( )

getSlot() 공개 메소드

public getSlot ( )

parseResponse() 공개 메소드

public parseResponse ( $data )

setArguments() 공개 메소드

public setArguments ( array $arguments )
$arguments array

setRawArguments() 공개 메소드

public setRawArguments ( array $arguments )
$arguments array

setSlot() 공개 메소드

public setSlot ( $slot )