DuckPhp\Ext\RedisManager

简介

Redis 管理类

选项

  1. 'redis' => null,
  2. 'redis_list' => null,
  3. 'redis_list_reload_by_setting' => true,
  4. 'redis_list_try_single' => true,

/* [ ‘host’=>’’, ‘port’=>’’, ‘auth’=>’’, ‘select’=>’’, ] */

方法

详解

  1. public function __construct()
  2. public function init(array $options, object $context = null)
  3. protected function initContext($options = [], $context = null)
  4. public static function Redis($tag = 0)
  5. public function getServer($tag = 0)
  6. public function createServer($config)

RedisManager

redis 管理器。 redis 入口