public function Stopwatch::isStarted in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch::isStarted()
- 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch::isStarted()
- 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch::isStarted()
Checks if the event was started
Parameters
string $name The event name:
Return value
bool
File
- webprofiler/
src/ Stopwatch.php, line 97
Class
- Stopwatch
- Class Stopwatch
Namespace
Drupal\webprofilerCode
public function isStarted($name) {
return end($this->activeSections)
->isEventStarted($name);
}