public function StopwatchEvent::getStartTime in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getStartTime()
- 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getStartTime()
- 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getStartTime()
Gets the relative time of the start of the first period.
Return value
integer The time (in milliseconds)
File
- webprofiler/
src/ Stopwatch.php, line 416
Class
- StopwatchEvent
- Class StopwatchEvent
Namespace
Drupal\webprofilerCode
public function getStartTime() {
return isset($this->periods[0]) ? $this->periods[0]
->getStartTime() : 0;
}