laminas / laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output
https://docs.laminas.dev/laminas-cache/
BSD 3-Clause "New" or "Revised" License
103 stars 52 forks source link

Add adapter options template to `StorageInterface` usage #321

Closed boesing closed 5 months ago

boesing commented 5 months ago
Q A
Bugfix yes
BC Break soft

Description

With adding AdapterOptions template to StorageInterface in v4.0.1, some usages of StorageInterface were not adapted. This adds adapter options generics to the usages of StorageInterface. Since the usages do not require any specific options, using AdapterOptions should be fine as all adapter options of the adapters are extending AdapterOptions anyways.