Skip to content

4.3.3

Choose a tag to compare

@heminei heminei released this 29 Apr 07:49
· 1 commit to master since this release
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>