You are here

public function DrupalDataCollectorTrait::reset in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DataCollector/DrupalDataCollectorTrait.php \Drupal\webprofiler\DataCollector\DrupalDataCollectorTrait::reset()
  2. 8.2 webprofiler/src/DataCollector/DrupalDataCollectorTrait.php \Drupal\webprofiler\DataCollector\DrupalDataCollectorTrait::reset()
  3. 4.x 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 = [];
}