function Section::isEventStarted
Checks if the event was started
Parameters
string $name The event name:
Return value
bool
File
-
webprofiler/
src/ Stopwatch.php, line 246
Class
- Section
- @internal This class is for internal usage only
Namespace
Drupal\webprofilerCode
public function isEventStarted($name) {
return isset($this->events[$name]) && $this->events[$name]
->isStarted();
}