public function Section::getEvents in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::getEvents()
- 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::getEvents()
- 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\Section::getEvents()
Returns the events from this section.
Return value
StopwatchEvent[] An array of StopwatchEvent instances
File
- webprofiler/
src/ Stopwatch.php, line 285
Class
- Section
- @internal This class is for internal usage only
Namespace
Drupal\webprofilerCode
public function getEvents() {
return $this->events;
}