在使用thinkorm时,我想用cache,但是后面发现要配置驱动 于是我试着用Db::setCache(\support\Cache::store())来配置 但还是不能缓存 support\Cache本身能用,已经测试使用
Db::setCache(\support\Cache::store())
目前实在没看懂,需要大佬们指导下
貌似找到原因了,symfony/cache是PSR-6标准的,我得研究下他的PSR-16的适配器,不行的话还是转think-cache
symfony/cache
貌似找到原因了,
symfony/cache
是PSR-6标准的,我得研究下他的PSR-16的适配器,不行的话还是转think-cache