PHP Interface Predis\Protocol\ProtocolProcessorInterface

Author: Daniele Alessandri ([email protected])
Afficher le fichier Open project: tillkruss/redis-object-cache

Méthodes publiques

Méthode Description
read ( Predis\Connection\CompositeConnectionInterface $connection ) : mixed Reads a response from a connection to Redis.
write ( Predis\Connection\CompositeConnectionInterface $connection, Predis\Command\CommandInterface $command ) Writes a request over a connection to Redis.

Method Details

read() public méthode

Reads a response from a connection to Redis.
public read ( Predis\Connection\CompositeConnectionInterface $connection ) : mixed
$connection Predis\Connection\CompositeConnectionInterface Redis connection.
Résultat mixed

write() public méthode

Writes a request over a connection to Redis.
public write ( Predis\Connection\CompositeConnectionInterface $connection, Predis\Command\CommandInterface $command )
$connection Predis\Connection\CompositeConnectionInterface Redis connection.
$command Predis\Command\CommandInterface Command instance.