-
-
Couldn't load subscription status.
- Fork 9.7k
[Cache] Add optional ClockInterface to ArrayAdapter
#57836
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
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
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.
Nice idea, here are some comments.
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.
Nice change.
|
Thank you @jasiolpn. |
ClockInterface to ArrayAdapter
|
Hi there, Regards |
|
Because new features are never ported to patch releases of older versions (they are not bug fixes) |
Hello.
It is common to use
ArrayAdapteras a cache adapter in test environments. Unfortunately, currently cache item expiration is untestable. On the other hand,Psr\Clock\ClockInterfaceand Symfony Clock component are available for some time. I think it would be great if we make use ofClockInterfaceinArrayAdapter.