PHP Class Predis\Command\Command

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Command\CommandInterface
Afficher le fichier Open project: nrk/predis Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public getArgument ( $index )

getArguments() public méthode

public getArguments ( )

getSlot() public méthode

public getSlot ( )

normalizeArguments() public static méthode

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

normalizeVariadic() public static méthode

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

parseResponse() public méthode

public parseResponse ( $data )

setArguments() public méthode

public setArguments ( array $arguments )
$arguments array

setRawArguments() public méthode

public setRawArguments ( array $arguments )
$arguments array

setSlot() public méthode

public setSlot ( $slot )