You are here

public function ThemeDataCollector::getTime in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::getTime()
  2. 8 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::getTime()
  3. 8.2 webprofiler/src/DataCollector/ThemeDataCollector.php \Drupal\webprofiler\DataCollector\ThemeDataCollector::getTime()

Return value

int

1 call to ThemeDataCollector::getTime()
ThemeDataCollector::getData in webprofiler/src/DataCollector/ThemeDataCollector.php

File

webprofiler/src/DataCollector/ThemeDataCollector.php, line 104

Class

ThemeDataCollector
Class ThemeDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getTime() {
  return $this
    ->getProfile()
    ->getDuration() * 1000;
}