/** * Create the cache key. * * @param string $path The file path. * * @return string */ private function getCacheKey($path) { if ($this->adapter instanceof ProvidesCacheKey) { return $this->adapter->getCacheKey($path); } return md5($path); }