Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] 缓存抽象成 trait: InteractsWithCache #670

Closed
overtrue opened this issue Apr 27, 2017 · 0 comments
Closed

[4.0] 缓存抽象成 trait: InteractsWithCache #670

overtrue opened this issue Apr 27, 2017 · 0 comments
Milestone

Comments

@overtrue
Copy link
Collaborator

overtrue commented Apr 27, 2017

use InteractsWithCache;

$this->cache()->put($key, $value, $expiredAt);
$this->cache()->fetch($key, $default);
@mingyoung mingyoung added this to the 4.0 milestone Apr 27, 2017
@overtrue overtrue changed the title [4.0] 缓存应该抽象成 trait. [4.0] 缓存应该抽象成 trait: InteractsWithCache May 1, 2017
@overtrue overtrue changed the title [4.0] 缓存应该抽象成 trait: InteractsWithCache [4.0] 缓存抽象成 trait: InteractsWithCache May 1, 2017
overtrue added a commit that referenced this issue Jun 9, 2017
@overtrue overtrue closed this as completed Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants