You are here

private function RedisProfilerStorage::getItemName in Zircon Profile 8.0

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

Gets the item name.

Parameters

string $token:

Return value

string

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

File

vendor/symfony/http-kernel/Profiler/RedisProfilerStorage.php, line 288

Class

RedisProfilerStorage
RedisProfilerStorage stores profiling information in Redis.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

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