You are here

public function Twig_CacheInterface::load in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/CacheInterface.php \Twig_CacheInterface::load()

Loads a template from the cache.

Parameters

string $key The cache key:

2 methods override Twig_CacheInterface::load()
Twig_Cache_Filesystem::load in vendor/twig/twig/lib/Twig/Cache/Filesystem.php
Loads a template from the cache.
Twig_Cache_Null::load in vendor/twig/twig/lib/Twig/Cache/Null.php
Loads a template from the cache.

File

vendor/twig/twig/lib/Twig/CacheInterface.php, line 46

Class

Twig_CacheInterface
Interface implemented by cache classes.

Code

public function load($key);