You are here

public function DrupalDataCollector::__construct in Devel 8

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

Parameters

\Drupal\Core\Routing\RedirectDestinationInterface $redirectDestination:

\Drupal\Core\Routing\UrlGeneratorInterface $urlGenerator:

File

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

Class

DrupalDataCollector
Class DrupalDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function __construct(RedirectDestinationInterface $redirectDestination, UrlGeneratorInterface $urlGenerator) {
  $this->redirectDestination = $redirectDestination;
  $this->urlGenerator = $urlGenerator;
}