public function getApcuKey($cid) { return $this->binPrefix .
$cid;
} /**
* {@inheritdoc}
*/
public function get($cid,
$allow_invalid = FALSE
) { $cache =
apcu_fetch($this->
getApcuKey($cid));
return $this->
prepareItem($cache,
$allow_invalid);
} /**
* {@inheritdoc}
*/
public function getMultiple(&
$cids,
$allow_invalid = FALSE
) { // Translate the requested cache item IDs to APCu keys.
$map =
[];
foreach ($cids as $cid) { $map[$this->
getApcuKey($cid)] =
$cid;
}