Lines Matching full:cache
19 use Handlebars\Cache\Dummy;
72 * @var Cache
74 private $cache;
104 * cache => Cache object
125 if (isset($options['cache'])) {
126 $this->setCache($options['cache']);
308 * Set cache for current engine
310 * @param Cache $cache handlebars cache
313 public function setCache(Cache $cache)
315 $this->cache = $cache;
319 * Get cache
321 * @return Cache
325 if (!isset($this->cache)) {
326 $this->cache = new Dummy();
328 return $this->cache;
516 * try to tokenize source, or get them from cache if available