public function 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\TemplateCode
public function load($key) { $this->storage()->load($key); }
© 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::load/8.1.x