public function StopwatchEvent::start in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::start()
- 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::start()
- 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::start()
Starts a new event period.
Return value
\Symfony\Component\Stopwatch\StopwatchEvent The event.
File
- webprofiler/
src/ Stopwatch.php, line 397
Class
- StopwatchEvent
- Class StopwatchEvent.
Namespace
Drupal\webprofilerCode
public function start() {
$this->started[] = $this
->getNow();
return $this;
}