Lines Matching full:cache
13 * Mustache Cache filesystem implementation.
17 * $cache = new Mustache_Cache_FilesystemCache(dirname(__FILE__).'/cache');
18 * $cache->cache($className, $compiledSource);
28 * Filesystem cache constructor.
31 …* @param int $fileMode Override default permissions for cache files. Defaults to using the syst…
40 * Load the class from cache using `require_once`.
59 * Cache and load the compiled class.
64 public function cache($key, $value) function in Mustache_Cache_FilesystemCache
70 'Writing to template cache: "{fileName}"',
79 * Build the cache filename.
80 * Subclasses should override for custom cache directory structures.
92 * Create cache directory.
106 'Creating Mustache template cache directory: "{dirName}"',
113 …throw new Mustache_Exception_RuntimeException(sprintf('Failed to create cache directory "%s".', $d…
122 * Write cache file.
151 'Unable to rename Mustache temp cache file: "{tempName}" -> "{fileName}"',
158 …throw new Mustache_Exception_RuntimeException(sprintf('Failed to write cache file "%s".', $fileNam…