TwigPhpStorageCache::load

public TwigPhpStorageCache::load($key)

Loads a template from the cache.

Parameters

string $key The cache key:

Overrides Twig_CacheInterface::load

File

core/lib/Drupal/Core/Template/TwigPhpStorageCache.php, line 89

Class

TwigPhpStorageCache
Provides an alternate cache storage for Twig using PhpStorage.

Namespace

Drupal\Core\Template

Code

public function load($key) {
  $this->storage()->load($key);
}
doc_Drupal
2016-10-29 09:49:46
Comments
Leave a Comment

Please login to continue.