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

Allow a better override of KeyGenerator #7

Open
borisguery opened this issue Apr 19, 2013 · 0 comments
Open

Allow a better override of KeyGenerator #7

borisguery opened this issue Apr 19, 2013 · 0 comments

Comments

@borisguery
Copy link
Member

For instance it is only possible to set a global key generator which will be used for ALL caches.

We should allow to set a per-cache key generator as to override it in key-generator option to annotation.

<?php
/**
 * @Cacheable(caches="users", key="#user.getUsername(), key-generator="request_key_generator")
 */
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

1 participant