protected function getCache($view) { $cache = new OutputCache($view); if ($this->cache) { $cache->setParent($this->cache); } $this->cache = $cache; return $cache; }