laminas/laminas-cache

Use `Clock`-Interface (PSR-20) in `PSR-6` `CacheItem`

boesing opened this issue · 0 comments

Since we do work with times within the PSR-6 CacheItem, we could consider adding the possibility to inject a Clock-Interface to the CacheItemPoolDecorator.


Not important, but we should consider using a clock in future 🤔

Originally posted by @Ocramius in #199 (comment)