public function StopwatchEvent::isStarted in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::isStarted()
- 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::isStarted()
- 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::isStarted()
Checks if this event was started.
Return value
bool True if this event was started.
File
- webprofiler/
src/ Stopwatch.php, line 428
Class
- StopwatchEvent
- Class StopwatchEvent.
Namespace
Drupal\webprofilerCode
public function isStarted() {
return !empty($this->started);
}