Merge pull request #447 from alexander-schranz/patch-1
Added echo as normal method
This commit is contained in:
commit
693fe4c896
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue