public function getCacheFilename($name) { return $this->getCache() ? $this->getCache().'/'.$this->getTemplateClass($name).'.php' : false; }
public function addTemplate($path) { $this->environment->loadTemplate($path); $this->templates[] = $this->environment->getCacheFilename($path); }