Merge pull request #447 from alexander-schranz/patch-1

Added echo as normal method
This commit is contained in:
andrey-sokolov 2018-11-27 18:18:31 +03:00 committed by GitHub
commit 693fe4c896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -4,8 +4,6 @@
* @author Max Kamashev <max.kamashev@gmail.com>
* @link https://github.com/ukko/phpredis-phpdoc
*
* @method string echo(string $string) Sends a string to Redis, which replies with the same string
*
* @method mixed eval($script, $args = array(), $numKeys = 0)
* Evaluate a LUA script serverside
* @param string $script
@ -307,6 +305,15 @@ class Redis
*/
public function ping( ) {}
/**
* Echo the given string
*
* @param string $message
* @return string Returns message.
* @link https://redis.io/commands/echo
*/
public function echo( $message ) {}
/**
* Get the value related to the specified key
*