You are here

protected function Redis_Cache_PhpRedis::_buildKey in Redis 7

4 calls to Redis_Cache_PhpRedis::_buildKey()
Redis_Cache_PhpRedis::clear in lib/Redis/Cache/PhpRedis.php
Expires data from the cache.
Redis_Cache_PhpRedis::get in lib/Redis/Cache/PhpRedis.php
Returns data from the persistent cache.
Redis_Cache_PhpRedis::getMultiple in lib/Redis/Cache/PhpRedis.php
Returns data from the persistent cache when given an array of cache IDs.
Redis_Cache_PhpRedis::set in lib/Redis/Cache/PhpRedis.php
Stores data in the persistent cache.

File

lib/Redis/Cache/PhpRedis.php, line 16

Class

Redis_Cache_PhpRedis
Predis cache backend.

Code

protected function _buildKey($cid) {

  // FIXME: Handle site.
  return $this->_bin . ':' . $cid;
}