public function StopwatchEvent::lap in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::lap()
- 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::lap()
- 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\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\webprofilerCode
public function lap() {
return $this
->stop()
->start();
}