Promote __call() method to Predis\ClientInterface.

This commit is contained in:
Daniele Alessandri
2014-07-23 15:18:09 +02:00
parent 9a05d43737
commit 0ee5233f4f
2 changed files with 11 additions and 6 deletions
+10
View File
@@ -63,4 +63,14 @@ interface ClientInterface extends BasicClientInterface
* @return CommandInterface
*/
public function createCommand($method, $arguments = array());
/**
* Creates a Redis command with the specified arguments and sends a request
* to the server.
*
* @param string $commandID Command ID.
* @param array $arguments Arguments for the command.
* @return mixed
*/
public function __call($method, $arguments);
}