You are here

public function Section::getEvents in Devel 4.x

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

Returns the events from this section.

Return value

\Symfony\Component\Stopwatch\StopwatchEvent[] An array of StopwatchEvent instances

File

webprofiler/src/Stopwatch.php, line 325

Class

Section
@internal This class is for internal usage only

Namespace

Drupal\webprofiler

Code

public function getEvents() {
  return $this->events;
}