mirror of
https://github.com/predis/predis.git
synced 2026-10-16 08:46:28 +00:00
Big batch of phpdoc improvements and minor code styling fixes.
This commit is contained in:
@@ -23,17 +23,17 @@ use Predis\Connection\ComposableConnectionInterface;
|
||||
interface ProtocolProcessorInterface
|
||||
{
|
||||
/**
|
||||
* Writes a command to the specified connection.
|
||||
* Writes a request over a connection to Redis.
|
||||
*
|
||||
* @param ComposableConnectionInterface $connection Connection to Redis.
|
||||
* @param CommandInterface $command Redis command.
|
||||
* @param ComposableConnectionInterface $connection Redis connection.
|
||||
* @param CommandInterface $command Command instance.
|
||||
*/
|
||||
public function write(ComposableConnectionInterface $connection, CommandInterface $command);
|
||||
|
||||
/**
|
||||
* Reads a response from the specified connection.
|
||||
* Reads a response from a connection to Redis.
|
||||
*
|
||||
* @param ComposableConnectionInterface $connection Connection to Redis.
|
||||
* @param ComposableConnectionInterface $connection Redis connection.
|
||||
* @return mixed
|
||||
*/
|
||||
public function read(ComposableConnectionInterface $connection);
|
||||
|
||||
Reference in New Issue
Block a user