function 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,
    ];
}