function 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\webprofiler

Code

public function getPeriods() {
    return $this->periods;
}