public TwigPhpStorageCache::__construct(CacheBackendInterface $cache, $twig_extension_hash)
Store cache backend and other information internally.
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache bin.
string $twig_extension_hash: The Twig extension hash.
public function __construct(CacheBackendInterface $cache, $twig_extension_hash) { $this->cache = $cache; $this->templateCacheFilenamePrefix = $twig_extension_hash; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Template!TwigPhpStorageCache.php/function/TwigPhpStorageCache::__construct/8.1.x