Skip to content

1.1.0 Improve PSR-16 adaption & test coverage

Latest
Compare
Choose a tag to compare
@ebln ebln released this 15 Oct 14:25
1b1392e

[1.1.0] - 2021-10-15 | Improve PSR-16 adaption & test coverage

Changed

  • Change getItems to use getMultiple
  • Using NowFactory also for CacheItem

Added

  • Increase test coverage (using PSR-16 exceptions)
  • Add tests to ensure PSR-6 commits make use of PSR-16's bulk setters

A PSR-6 cache implementation adapting PSR-16.

This package provides a PSR-6 cache instance when you only have a PSR-16 cache at hand.
As PSR-6 is more feature-rich than PSR-16, this adaption is not utterly performant. And you should use it very carefully.