public function ProfilerStorageInterface::read

Reads data associated with the given token.

The method returns false if the token does not exists in the storage.

Parameters

string $token A token:

Return value

Profile The profile associated with token

5 methods override ProfilerStorageInterface::read()
BaseMemcacheProfilerStorage::read in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/BaseMemcacheProfilerStorage.php
Reads data associated with the given token.
FileProfilerStorage::read in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php
Reads data associated with the given token.
MongoDbProfilerStorage::read in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/MongoDbProfilerStorage.php
Reads data associated with the given token.
PdoProfilerStorage::read in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php
Reads data associated with the given token.
RedisProfilerStorage::read in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/RedisProfilerStorage.php
Reads data associated with the given token.

File

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

Class

ProfilerStorageInterface
ProfilerStorageInterface.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function read($token);