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

DDC-1882: AbstractQuery#getResultCacheId() should be public to be able to manage the cache #2546

Closed
doctrinebot opened this issue Jun 19, 2012 · 2 comments
Assignees

Comments

@doctrinebot
Copy link

Jira issue originally created by user ignaciolarranaga:

The method getResultCacheId of Doctrine\ORM\AbstractQuery should be public.

I'm trying to customize the cache refresh mechanism to clear previously cached objects in my app.
To do that I'm adding a prefix to define regions in the cache.
To be able to set the Id's correctly (adding region prefixes) I need to get the "normal" hash doctrine were used in the normal scenario (trying to avoid introduce new code).
That's why I will prefer the method to be public.

@doctrinebot
Copy link
Author

Comment created by ignaciolarranaga:

Attaching the patch despite is a trivial change.

@doctrinebot
Copy link
Author

Imported 1 attachments from Jira into https://gist.github.com/afd3bd15c75d3e19d80c

@beberlei beberlei closed this as completed Dec 5, 2020
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