Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TimeDataCollector.php

function TimeDataCollector::reset

Overrides DataCollector::reset

File

vendor/symfony/http-kernel/DataCollector/TimeDataCollector.php, line 50

Class

TimeDataCollector
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function reset() : void {
    $this->data = [
        'events' => [],
        'stopwatch_installed' => false,
        'start_time' => 0,
    ];
    $this->stopwatch?->reset();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal