You are here

public function DrupalDataCollectorTrait::reset in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/DrupalDataCollectorTrait.php \Drupal\webprofiler\DataCollector\DrupalDataCollectorTrait::reset()
  2. 8 webprofiler/src/DataCollector/DrupalDataCollectorTrait.php \Drupal\webprofiler\DataCollector\DrupalDataCollectorTrait::reset()
  3. 8.2 webprofiler/src/DataCollector/DrupalDataCollectorTrait.php \Drupal\webprofiler\DataCollector\DrupalDataCollectorTrait::reset()

File

webprofiler/src/DataCollector/DrupalDataCollectorTrait.php, line 13

Class

DrupalDataCollectorTrait
Class DrupalDataCollectorTrait.

Namespace

Drupal\webprofiler\DataCollector

Code

public function reset() {
  $this->data = [];
}