protected function getCache() { if (!isset($this->cache)) { $this->cache = new Cache(); } return $this->cache; }