PhpBackend::normalizeCid

protected PhpBackend::normalizeCid($cid)

Ensures a normalized cache ID.

Parameters

string $cid: The passed in cache ID.

Return value

string A normalized cache ID.

File

core/lib/Drupal/Core/Cache/PhpBackend.php, line 267

Class

PhpBackend
Defines a PHP cache implementation.

Namespace

Drupal\Core\Cache

Code

protected function normalizeCid($cid) {
  return Crypt::hashBase64($cid);
}
doc_Drupal
2016-10-29 09:33:55
Comments
Leave a Comment

Please login to continue.