TwigPhpStorageCache
class TwigPhpStorageCache
Provides an alternate cache storage for Twig using PhpStorage.
This class is designed to work on setups with multiple webheads using a local filesystem for the twig cache. When generating the cache key, a hash value depending on the enabled extensions is included. This prevents stale templates from being reused when twig extensions are enabled or disabled.
Hierarchy
- class \Drupal\Core\Template\TwigPhpStorageCache implements Twig_CacheInterface