-
-
Notifications
You must be signed in to change notification settings - Fork 19
Describe current behavior on the cache interface #21
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
Describe current behavior on the cache interface #21
Conversation
src/CacheInterface.php
Outdated
interface CacheInterface | ||
{ | ||
// @return React\Promise\PromiseInterface | ||
/** | ||
* Retrieve an item from cache, resolves with its value on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retrieve an item from the cache
src/CacheInterface.php
Outdated
// @return React\Promise\PromiseInterface | ||
/** | ||
* Retrieve an item from cache, resolves with its value on | ||
* success or rejects on when no item can be found. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on
src/CacheInterface.php
Outdated
public function get($key); | ||
|
||
/** | ||
* Stores an item in the cache. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Store
@jsor cheers, fixed the issues you pointed out 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can you squash this before merging? 👍
6689851
to
37ee805
Compare
After a discussion with @jsor and @clue I've crafted this PR to only describe the current behavior.