public function ApcuBackend::getApcuKey
public ApcuBackend::getApcuKey($cid)
Prepends the APCu user variable prefix for this bin to a cache item ID.
Parameters
string $cid: The cache item ID to prefix.
Return value
string The APCu key for the cache item ID.
File
- core/lib/Drupal/Core/Cache/ApcuBackend.php, line 66
Class
- ApcuBackend
- Stores cache items in the Alternative PHP Cache User Cache (APCu).
Namespace
Drupal\Core\CacheCode
public function getApcuKey($cid) { return $this->binPrefix . $cid; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!ApcuBackend.php/function/ApcuBackend::getApcuKey/8.1.x