class FileProfilerStorage in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Profiler/FileProfilerStorage.php \Drupal\webprofiler\Profiler\FileProfilerStorage
- 8.2 webprofiler/src/Profiler/FileProfilerStorage.php \Drupal\webprofiler\Profiler\FileProfilerStorage
- 4.x webprofiler/src/Profiler/FileProfilerStorage.php \Drupal\webprofiler\Profiler\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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileProfilerStorage:: |
protected | function |