ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CacheInterface.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of Twig.
5 *
6 * (c) Fabien Potencier
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
22{
31 public function generateKey($name, $className);
32
39 public function write($key, $content);
40
46 public function load($key);
47
55 public function getTimestamp($key);
56}
57
58class_alias('Twig_CacheInterface', 'Twig\Cache\CacheInterface', false);
An exception for terminatinating execution or to throw for unit testing.
$key
Definition: croninfo.php:18
Interface implemented by cache classes.
write($key, $content)
Writes the compiled template to cache.
load($key)
Loads a template from the cache.
getTimestamp($key)
Returns the modification timestamp of a key.
generateKey($name, $className)
Generates a cache key for the given template class name.