private function BaseMemcacheProfilerStorage::getItemName

Get item name

Parameters

string $token:

Return value

string

4 calls to BaseMemcacheProfilerStorage::getItemName()
BaseMemcacheProfilerStorage::createProfileFromData in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php
BaseMemcacheProfilerStorage::purge in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php
Purges all data from the database.
BaseMemcacheProfilerStorage::read in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php
Reads data associated with the given token.
BaseMemcacheProfilerStorage::write in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php
Saves a Profile.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php, line 260

Class

BaseMemcacheProfilerStorage
Base Memcache storage for profiling information in a Memcache.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

private function getItemName($token) {
  $name = self::TOKEN_PREFIX . $token;
  if ($this
    ->isItemNameValid($name)) {
    return $name;
  }
  return false;
}