Skip to content

Comments

Consider expiration on isCached() and retrieve()#18

Open
TiagoGouvea wants to merge 9 commits intocosenary:masterfrom
TiagoGouvea:master
Open

Consider expiration on isCached() and retrieve()#18
TiagoGouvea wants to merge 9 commits intocosenary:masterfrom
TiagoGouvea:master

Conversation

@TiagoGouvea
Copy link

Changed both methods to consider expiration when checking and returning data.
If $key existis but expired, isCached() will return false, and retrieve() will return null.

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.

1 participant