public function EventsDataCollector::collect in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/EventsDataCollector.php \Drupal\webprofiler\DataCollector\EventsDataCollector::collect()
- 8 webprofiler/src/DataCollector/EventsDataCollector.php \Drupal\webprofiler\DataCollector\EventsDataCollector::collect()
- 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\DataCollectorCode
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,
];
}