You are here

public function StopwatchEvent::getPeriods in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getPeriods()
  2. 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getPeriods()
  3. 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getPeriods()

Gets all event periods.

Return value

\Symfony\Component\Stopwatch\StopwatchPeriod[] An array of StopwatchPeriod instances.

File

webprofiler/src/Stopwatch.php, line 457

Class

StopwatchEvent
Class StopwatchEvent.

Namespace

Drupal\webprofiler

Code

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