doctrine / cache

Doctrine Cache component
https://www.doctrine-project.org/projects/cache.html
MIT License
7.85k stars 214 forks source link

Add example of using a PSR-6 cache wrapped in Doctrine Cache interface. #391

Closed beberlei closed 2 years ago

beberlei commented 3 years ago

I want to add this explanation to the documentation and UPGRADE notice to help users upgrade more easily.

SenseException commented 3 years ago

Because 1.12 is still maintained, I'd also suggest that it should target 1.12.x.

gnumoksha commented 3 years ago

Hello. This is an important change. Are you planning to merge it soon?

Also: 1 - Is the FilesystemAdapter prefered in the same way the PhpFileCache was? reference 2 - Are you planning to update this and this?

alcaeus commented 3 years ago

@gnumoksha I'll re-target 1.12 then merge, but haven't gotten to it yet.

As for the other questions, I believe you should raise them in a discussion in the ORM project (see https://github.com/doctrine/orm/discussions), as they relate to how ORM integrates caching based on this library, but not directly related to the library.