public function StopwatchEvent::lap

Stops the current period and then starts a new one.

Return value

StopwatchEvent The event

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/StopwatchEvent.php, line 95

Class

StopwatchEvent
Represents an Event managed by Stopwatch.

Namespace

Symfony\Component\HttpKernel\Debug

Code

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