You are here

private function BaseMemcacheProfilerStorage::getItemName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/BaseMemcacheProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\BaseMemcacheProfilerStorage::getItemName()

Get item name.

Parameters

string $token:

Return value

string

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

File

vendor/symfony/http-kernel/Profiler/BaseMemcacheProfilerStorage.php, line 273

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;
}