function 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;
}