Stops all non already stopped periods.
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/StopwatchEvent.php, line 103
Class
- StopwatchEvent
- Represents an Event managed by Stopwatch.
Namespace
Symfony\Component\HttpKernel\Debug
Code
public function ensureStopped() {
while (count($this->started)) {
$this
->stop();
}
}