diff --git a/src/Client.php b/src/Client.php index 18b05cf1..6f2484c2 100644 --- a/src/Client.php +++ b/src/Client.php @@ -286,12 +286,7 @@ class Client implements ClientInterface } /** - * 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 + * {@inheritdoc} */ public function __call($commandID, $arguments) { diff --git a/src/ClientInterface.php b/src/ClientInterface.php index 4815eb8a..7301a0cf 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -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); }