You are here

public function EventsDataCollector::__construct in Devel 8.2

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

EventsDataCollector constructor.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher:

File

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

Class

EventsDataCollector
Class EventsDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function __construct(EventDispatcherInterface $event_dispatcher) {
  $this->eventDispatcher = $event_dispatcher;
}