protected function CacheItemBackend::getCacheKey in Flysystem 8
Same name and namespace in other branches
- 3.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::getCacheKey()
- 2.0.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::getCacheKey()
- 3.0.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::getCacheKey()
Gets the cache key for a cache item.
Parameters
string $path: The path of the cache item.
Return value
string A hashed key suitable for use in a cache.
4 calls to CacheItemBackend::getCacheKey()
- CacheItemBackend::deleteMultiple in src/Flysystem/ Adapter/ CacheItemBackend.php 
- Deletes multiple paths.
- CacheItemBackend::has in src/Flysystem/ Adapter/ CacheItemBackend.php 
- Returns whether the cache item exists.
- CacheItemBackend::load in src/Flysystem/ Adapter/ CacheItemBackend.php 
- Loads a cache item for a given path.
- CacheItemBackend::set in src/Flysystem/ Adapter/ CacheItemBackend.php 
- Sets a cache item in the backend.
File
- src/Flysystem/ Adapter/ CacheItemBackend.php, line 123 
Class
- CacheItemBackend
- Storage backend for cache items.
Namespace
Drupal\flysystem\Flysystem\AdapterCode
protected function getCacheKey($path) {
  return Crypt::hashBase64($this->scheme . '://' . $path);
}