public function getCacheSystem() { if (is_null($this->cache)) { $this->cache = new \Gregwar\Cache\Cache(); $this->cache->setCacheDirectory($this->cacheDir); } return $this->cache; }