class FileProfilerStorage
Hierarchy
- class \Drupal\webprofiler\Profiler\FileProfilerStorage extends \Symfony\Component\HttpKernel\Profiler\FileProfilerStorage
Expanded class hierarchy of FileProfilerStorage
1 string reference to 'FileProfilerStorage'
- webprofiler.services.yml in webprofiler/
webprofiler.services.yml - webprofiler/webprofiler.services.yml
1 service uses FileProfilerStorage
File
-
webprofiler/
src/ Profiler/ FileProfilerStorage.php, line 8
Namespace
Drupal\webprofiler\ProfilerView source
class FileProfilerStorage extends SymfonyFileProfilerStorage {
/**
* {@inheritdoc}
*/
protected function createProfileFromData($token, $data, $parent = NULL) {
$profile = new Profile($token);
$profile->setIp($data['ip']);
$profile->setMethod($data['method']);
$profile->setUrl($data['url']);
$profile->setTime($data['time']);
$profile->setCollectors($data['data']);
$profile->setStatusCode($data['status_code']);
return $profile;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
FileProfilerStorage::createProfileFromData | protected | function |