function CacheInterface::load
Loads a template from the cache.
4 methods override CacheInterface::load()
- ChainCache::load in vendor/
twig/ twig/ src/ Cache/ ChainCache.php - Loads a template from the cache.
- FilesystemCache::load in vendor/
twig/ twig/ src/ Cache/ FilesystemCache.php - Loads a template from the cache.
- NullCache::load in vendor/
twig/ twig/ src/ Cache/ NullCache.php - Loads a template from the cache.
- TwigPhpStorageCache::load in core/
lib/ Drupal/ Core/ Template/ TwigPhpStorageCache.php - Loads a template from the cache.
File
-
vendor/
twig/ twig/ src/ Cache/ CacheInterface.php, line 40
Class
- CacheInterface
- Interface implemented by cache classes.
Namespace
Twig\CacheCode
public function load(string $key) : void;