PHP Interface Predis\Connection\NodeConnectionInterface

Author: Daniele Alessandri ([email protected])
Inheritance: extends Predis\Connection\ConnectionInterface
Afficher le fichier Open project: tillkruss/redis-object-cache Interface Usage Examples

Méthodes publiques

Méthode Description
__toString ( ) : string Returns a string representation of the connection.
addConnectCommand ( Predis\Command\CommandInterface $command ) Pushes the given command into a queue of commands executed when establishing the actual connection to Redis.
getParameters ( ) : Predis\Connection\ParametersInterface Returns the parameters used to initialize the connection.
getResource ( ) : mixed Returns the underlying resource used to communicate with Redis.
read ( ) : mixed Reads a response from the server.

Method Details

__toString() public méthode

Returns a string representation of the connection.
public __toString ( ) : string
Résultat string

addConnectCommand() public méthode

Pushes the given command into a queue of commands executed when establishing the actual connection to Redis.
public addConnectCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface Instance of a Redis command.

getParameters() public méthode

Returns the parameters used to initialize the connection.
public getParameters ( ) : Predis\Connection\ParametersInterface
Résultat Predis\Connection\ParametersInterface

getResource() public méthode

Returns the underlying resource used to communicate with Redis.
public getResource ( ) : mixed
Résultat mixed

read() public méthode

Reads a response from the server.
public read ( ) : mixed
Résultat mixed