You are here

protected function CacheBase::getTagForBin in Redis 8

Return the key for the tag used to specify the bin of cache-entries.

2 calls to CacheBase::getTagForBin()
CacheBase::createEntryHash in src/Cache/CacheBase.php
Create cache entry.
CacheBase::invalidateAll in src/Cache/CacheBase.php
Marks all cache items as invalid.

File

src/Cache/CacheBase.php, line 242

Class

CacheBase
Base class for redis cache backends.

Namespace

Drupal\redis\Cache

Code

protected function getTagForBin() {
  return 'x-redis-bin:' . $this->bin;
}