PHPdoc updated
This commit is contained in:
@ -5,8 +5,6 @@
|
||||
* @package Majestic
|
||||
* @subpackage Redis
|
||||
* @since 2011-07-29
|
||||
* @version SVN: $Id$
|
||||
* @filesource $URL$
|
||||
*/
|
||||
|
||||
class RedisDebug
|
||||
|
@ -15,7 +15,7 @@ class RedisManager
|
||||
/**
|
||||
* Redis connections
|
||||
*
|
||||
* @var array
|
||||
* @var Redis[]
|
||||
*/
|
||||
static protected $connections = array();
|
||||
|
||||
@ -25,6 +25,7 @@ class RedisManager
|
||||
* @param string $name connection name. If not set 'default' will be used.
|
||||
* @param array $config Configuration array.
|
||||
*
|
||||
* @throws GeneralException
|
||||
* @return Redis
|
||||
*/
|
||||
static public function connect($name = 'default', $config = null)
|
||||
|
@ -15,7 +15,8 @@
|
||||
* @see https://github.com/nicolasff/phpredis
|
||||
*
|
||||
* @method bool connect() connect(string $host, int $port = 6379, float $timeout = 0) Connect to redis
|
||||
* @method bool pconnect() connect(string $host, int $port = 6379, float $timeout = 0, string $persistent_id) Connect to redis with reusing connection
|
||||
* @method bool pconnect() pconnect(string $host, int $port = 6379, float $timeout = 0, string $persistent_id) Connect to redis with reusing connection
|
||||
* @method bool select() select(int $dbindex) Switches to a given database
|
||||
* @method void close() Close connection to redis
|
||||
* @method bool setOption() setOption(mixed $name, mixed $value) Set client option
|
||||
* @method mixed getOption() getOption(mixed $name) Get client option
|
||||
|
Reference in New Issue
Block a user