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