Closed glen-84 closed 8 years ago
Instead of using CacheProviderInterface, you could use Psr\Cache\CacheItemPoolInterface, which would allow developers to use any PSR-6 compatible caching library.
CacheProviderInterface
Psr\Cache\CacheItemPoolInterface
Would be great! Maybe @Nyholm can give some input? Also see https://github.com/EmanueleMinotto/TwigCacheBundle/issues/12
Done by @rvanlaak in https://github.com/asm89/twig-cache-extension/pull/32. 🎉
Instead of using
CacheProviderInterface
, you could usePsr\Cache\CacheItemPoolInterface
, which would allow developers to use any PSR-6 compatible caching library.