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

Doctrine cache #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

xleliberty
Copy link

Hi, here is a proposition of doctrine cache integration for token persistence

i think that doctrine/cache is a thin, efficient and relatively widely used cache layer.
I have added tests, but not sur that they are really efficient.

On cache save, i use the expire data to set cache lifetime, and therefore i have to remove expire value in cached data, do you see use cases where this could be a problem ?

Thanks in advance for you remarks .

Xavier

*
* @throws \InvalidArgumentException
*/
public function setCache($cache)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should just use type hinting

@xleliberty
Copy link
Author

Hi,
ok, i'll have a look to all this quirks as soon as i find time for it.

I'll let you know once it's ok
thanks

@DennisSnijder
Copy link

Any updates on this PR?

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.

None yet

3 participants