public function TimeDataCollector::getData in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::getData()
- 8.2 webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::getData()
- 4.x webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::getData()
Return value
array
Overrides DrupalDataCollectorInterface::getData
File
- webprofiler/
src/ DataCollector/ TimeDataCollector.php, line 148
Class
- TimeDataCollector
- Class TimeDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getData() {
$data = $this->data;
$data['duration'] = $this
->getDuration();
$data['initTime'] = $this
->getInitTime();
return $data;
}