function 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\webprofiler

Code

public function isStarted($name) {
    return end($this->activeSections)
        ->isEventStarted($name);
}