think\Cache::store PHP Method

store() public static method

切换缓存类型 需要配置 cache.type 为 complex
public static store ( string $name ) : Driver
$name string 缓存标识
return think\cache\Driver
    public static function store($name)
    {
        if ('complex' == Config::get('cache.type')) {
            self::connect(Config::get('cache.' . $name), strtolower($name));
        }
        return self::$handler;
    }