PHP Interface Predis\Protocol\ProtocolProcessorInterface

Author: Daniele Alessandri ([email protected])
Mostra file Open project: tillkruss/redis-object-cache

Public Methods

Method 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 method

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

write() public method

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.