PHP Class Predis\Command\Command

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Command\CommandInterface
显示文件 Open project: nrk/predis Class Usage Examples

Public Methods

Method Description
getArgument ( $index )
getArguments ( )
getSlot ( )
normalizeArguments ( array $arguments ) : array Normalizes the arguments array passed to a Redis command.
normalizeVariadic ( array $arguments ) : array Normalizes the arguments array passed to a variadic Redis command.
parseResponse ( $data )
setArguments ( array $arguments )
setRawArguments ( array $arguments )
setSlot ( $slot )

Method Details

getArgument() public method

public getArgument ( $index )

getArguments() public method

public getArguments ( )

getSlot() public method

public getSlot ( )

normalizeArguments() public static method

Normalizes the arguments array passed to a Redis command.
public static normalizeArguments ( array $arguments ) : array
$arguments array Arguments for a command.
return array

normalizeVariadic() public static method

Normalizes the arguments array passed to a variadic Redis command.
public static normalizeVariadic ( array $arguments ) : array
$arguments array Arguments for a command.
return array

parseResponse() public method

public parseResponse ( $data )

setArguments() public method

public setArguments ( array $arguments )
$arguments array

setRawArguments() public method

public setRawArguments ( array $arguments )
$arguments array

setSlot() public method

public setSlot ( $slot )