You are here

public function StopwatchEvent::isStarted in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::isStarted()
  2. 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::isStarted()
  3. 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::isStarted()

Checks if the event was started

Return value

bool

File

webprofiler/src/Stopwatch.php, line 380

Class

StopwatchEvent
Class StopwatchEvent

Namespace

Drupal\webprofiler

Code

public function isStarted() {
  return !empty($this->started);
}