src/Leevel/Cache/Manager.php
protected function makeConnectRedis(array $options = []): Redis
    {
        $options = $this->normalizeConnectOption('redis', $options);

        return new Redis(new PhpRedis($options), $options);
    }
protected function makeConnectRedis(array $options = []): Redis
    {
        $options = $this->normalizeConnectOption('redis', $options);

        return new Redis(new PhpRedis($options), $options);
    }
创建 redis 缓存.

@param array $options

@return \Leevel\Cache\Redis