You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Cache Interfaces and Implementations
- Updated Cache interface to extend PSR SimpleCache interface and refined method signatures for type safety.
- Modified Apc, File, Memcached, Memory, and Redis cache implementations to align with the new interface definitions.
- Enhanced type declarations for properties and method parameters across cache classes.
- Improved handling of time-to-live (TTL) values, allowing for both integer and DateInterval types.
- Removed unnecessary docblocks and streamlined code for better readability and maintainability.
- Updated Singleton trait to use `new static()` for instance creation, ensuring proper subclassing behavior.
Co-authored-by: Copilot <copilot@github.com>