function StopwatchEvent::lap

Stops the current period and then starts a new one.

Return value

StopwatchEvent The event

File

webprofiler/src/Stopwatch.php, line 389

Class

StopwatchEvent
Class StopwatchEvent

Namespace

Drupal\webprofiler

Code

public function lap() {
    return $this->stop()
        ->start();
}