Skip to content

Conversation

@xuxucode
Copy link
Contributor

Cache 应该取自 app['config'].

@xuxucode xuxucode changed the title Fix cache [4.0] Fix cache Aug 31, 2017
@xuxucode
Copy link
Contributor Author

xuxucode commented Aug 31, 2017

这块我应该写个 test case,但目前对这个项目的 Mock 用法还不熟悉

@overtrue
Copy link
Collaborator

overtrue commented Sep 1, 2017

不是,这个真不是从 config 取,现在不支持从配置文件配置缓存实例,如果有需求得使用以下方式来覆盖:

$app['cache'] = new MyCustomCacheAdapter();

@overtrue overtrue closed this Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants