You are here

public function EventsDataCollector::collect in Devel 4.x

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

File

webprofiler/src/DataCollector/EventsDataCollector.php, line 38

Class

EventsDataCollector
Class EventsDataCollector.

Namespace

Drupal\webprofiler\DataCollector

Code

public function collect(Request $request, Response $response, \Exception $exception = NULL) {
  $this->data = [
    'called_listeners' => [],
    'called_listeners_count' => 0,
    'not_called_listeners' => [],
    'not_called_listeners_count' => 0,
  ];
}