Remove useless interface Predis\BasicClientInterface.

This commit is contained in:
Daniele Alessandri
2014-07-23 15:30:18 +02:00
parent 0ee5233f4f
commit a67d35b799
4 changed files with 13 additions and 38 deletions
+11 -3
View File
@@ -17,12 +17,12 @@ use Predis\Connection\ConnectionInterface;
use Predis\Profile\ProfileInterface;
/**
* Interface defining the most important methods needed to create an high-level
* Redis client that can interact with other building blocks of Predis.
* Interface defining an high-level Redis client that can interact with other
* building blocks of Predis.
*
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
interface ClientInterface extends BasicClientInterface
interface ClientInterface
{
/**
* Returns the server profile used by the client.
@@ -64,6 +64,14 @@ interface ClientInterface extends BasicClientInterface
*/
public function createCommand($method, $arguments = array());
/**
* Executes the specified Redis command.
*
* @param CommandInterface $command Command instance.
* @return mixed
*/
public function executeCommand(CommandInterface $command);
/**
* Creates a Redis command with the specified arguments and sends a request
* to the server.