public function TimeDataCollector::getData in Devel 8
Same name and namespace in other branches
- 8.3 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 149
Class
- TimeDataCollector
- Class TimeDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getData() {
$data = $this->data;
$data['duration'] = $this
->getDuration();
$data['initTime'] = $this
->getInitTime();
return $data;
}