protected function makePathToHashOfCacheBase() { if ($this->settings->useResourceCache()) { return $this->makePathToStorageFolder() . $this->makeHashOfCacheBase(); } return $this->settings->cachePath . $this->makeHashOfCacheBase(); }