public function getCacheManager() { if ($this->cache instanceof Closure) { $this->cache = call_user_func($this->cache); } return $this->cache; }