asm89 / twig-cache-extension

The missing cache extension for Twig. Caching template fragments with Twig.
MIT License
388 stars 27 forks source link

Suggestion: Use PSR-6 cache interface #31

Closed glen-84 closed 8 years ago

glen-84 commented 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.

rvanlaak commented 8 years ago

Would be great! Maybe @Nyholm can give some input? Also see https://github.com/EmanueleMinotto/TwigCacheBundle/issues/12

asm89 commented 8 years ago

Done by @rvanlaak in https://github.com/asm89/twig-cache-extension/pull/32. 🎉