You are here

private function DrupalAPCCache::key in APC - Alternative PHP Cache 7

Function which retrieves the safe key for the cache cid.

Parameters

$cid: The cache id.

Return value

The safe APC key.

3 calls to DrupalAPCCache::key()
DrupalAPCCache::clear in ./drupal_apc_cache.inc
Expires data from the cache.
DrupalAPCCache::get in ./drupal_apc_cache.inc
Returns data from the persistent cache.
DrupalAPCCache::set in ./drupal_apc_cache.inc
Stores data in the persistent cache.

File

./drupal_apc_cache.inc, line 132
This integrates the drupal APC cache backend.

Class

DrupalAPCCache
APC cache implementation.

Code

private function key($cid) {
  return $this
    ->binKey() . $cid;
}