Home
last modified time | relevance | path

Searched full:cache (Results 2051 – 2069 of 2069) sorted by path

1...<<818283

/template/twigstarter/vendor/twig/twig/lib/Twig/
H A DCacheInterface.php3 use Twig\Cache\CacheInterface;
5 class_exists('Twig\Cache\CacheInterface');
7 …wig_CacheInterface" class is deprecated since Twig version 2.7, use "Twig\Cache\CacheInterface" in…
10 /** @deprecated since Twig 2.7, use "Twig\Cache\CacheInterface" instead */
/template/twigstarter/vendor/twig/twig/src/Cache/
H A DCacheInterface.php12 namespace Twig\Cache;
15 * Interface implemented by cache classes.
18 * benefit from the PHP opcode cache. This interface is mostly useful if you
26 * Generates a cache key for the given template class name.
36 * Writes the compiled template to cache.
38 * @param string $key The cache key
44 * Loads a template from the cache.
46 * @param string $key The cache key
53 * @param string $key The cache key
60 class_alias('Twig\Cache\CacheInterface', 'Twig_CacheInterface');
H A DFilesystemCache.php12 namespace Twig\Cache;
15 * Implements a cache on the filesystem.
27 * @param string $directory The root cache directory
57 … throw new \RuntimeException(sprintf('Unable to create the cache directory (%s).', $dir));
61 … throw new \RuntimeException(sprintf('Unable to write in the cache directory (%s).', $dir));
69 // Compile cached file into bytecode cache
80 throw new \RuntimeException(sprintf('Failed to write cache file "%s".', $key));
93 class_alias('Twig\Cache\FilesystemCache', 'Twig_Cache_Filesystem');
H A DNullCache.php12 namespace Twig\Cache;
15 * Implements a no-cache strategy.
40 class_alias('Twig\Cache\NullCache', 'Twig_Cache_Null');
/template/twigstarter/vendor/twig/twig/src/
H A DEnvironment.php14 use Twig\Cache\CacheInterface;
15 use Twig\Cache\FilesystemCache;
16 use Twig\Cache\NullCache;
52 private $cache; variable in Twig\\Environment
112 'cache' => false,
245 * @param bool $original Whether to return the original cache option or the real cache instance
259 * @param CacheInterface|string|false $cache A Twig\Cache\CacheInterface implementation,
265 if (\is_string($cache)) {
267 $this->cache = new FilesystemCache($cache);
272 $this->originalCache = $this->cache = $cache;
[all …]
/template/twigstarter/vendor/twig/twig/src/Error/
H A DError.php24 * cache directory is not writable for instance).
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DCoreExtension.php1490 static $cache = [];
1496 if (!isset($cache[$class])) {
1532 $cache[$class] = $classCache;
1536 if (isset($cache[$class][$item])) {
1537 $method = $cache[$class][$item];
1538 …} elseif (isset($cache[$class][$lcItem = strtr($item, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklm…
1539 $method = $cache[$class][$lcItem];
1540 } elseif (isset($cache[$class]['__call'])) {
H A DEscaperExtension.php241 // cache the lowercase variant for future iterations
/template/twigstarter/vendor/twig/twig/src/Loader/
H A DArrayLoader.php20 * When using this loader with a cache mechanism, you should know that a new cache
21 * key is generated each time a template content "changes" (the cache key being the
22 * source code of the template). If you don't want to see your cache grows out of
23 * control, you need to take care of clearing the old cache file by yourself.
H A DFilesystemLoader.php28 protected $cache = []; variable in Twig\\Loader\\FilesystemLoader
101 // invalidate the cache
102 $this->cache = $this->errorCache = [];
122 // invalidate the cache
123 $this->cache = $this->errorCache = [];
165 if (isset($this->cache[$name])) {
196 if (isset($this->cache[$name])) {
197 return $this->cache[$name];
237 return $this->cache[$name] = $realpath;
240 return $this->cache[$name] = $path.'/'.$shortname;
H A DLoaderInterface.php36 * Gets the cache key to use for the cache for a given template name.
40 * @return string The cache key
/template/twigstarter/vendor/twig/twig/src/Test/
H A DIntegrationTestCase.php161 'cache' => false,
/template/typowiki/typowiki/
H A Dstyle.ini14 ; be checked for updates when considering a cache rebuild while files
/template/varicolored/
H A Dstyle.ini14 ; be checked for updates when considering a cache rebuild while files
/template/vector/
H A DREADME44 Note: Do not forget to empty your browser's cache if you cannot see any
66 Note: Do not forget to empty your browser's cache if you cannot see any
82 Note: Do not forget to empty your browser's cache if you cannot see any
/template/white/
H A Dstyle.ini14 ; be checked for updates when considering a cache rebuild while files
/template/wikipraktik/
H A Dstyle.ini14 ; be checked for updates when considering a cache rebuild while files
/template/writr/
H A Dstyle.ini14 ; be checked for updates when considering a cache rebuild while files
/template/zenith/
H A Dstyle.ini14 ; be checked for updates when considering a cache rebuild while files

1...<<818283