mirror of
https://github.com/predis/predis.git
synced 2026-08-21 14:51:06 +00:00
Remove useless interface Predis\BasicClientInterface.
This commit is contained in:
+11
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user