public function getCacheInstance() { if (!$this->cacheInstance) { $factory = $this->getCacheFactory(); $this->cacheInstance = $factory->createService($this); } return $this->cacheInstance; }