public function StopwatchEvent::getPeriods in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getPeriods()
- 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getPeriods()
- 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getPeriods()
Gets all event periods.
Return value
StopwatchPeriod[] An array of StopwatchPeriod instances
File
- webprofiler/
src/ Stopwatch.php, line 407
Class
- StopwatchEvent
- Class StopwatchEvent
Namespace
Drupal\webprofilerCode
public function getPeriods() {
return $this->periods;
}