public function StopwatchEvent::start

Starts a new event period.

Return value

StopwatchEvent The event

File

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

Class

StopwatchEvent
Represents an Event managed by Stopwatch.

Namespace

Symfony\Component\HttpKernel\Debug

Code

public function start() {
  $this->started[] = $this
    ->getNow();
  return $this;
}