You are here

public function DatabaseDataCollector::__construct in Devel 8.2

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

Parameters

\Drupal\Core\Database\Connection $database:

\Drupal\Core\Config\ConfigFactoryInterface $configFactory:

File

webprofiler/src/DataCollector/DatabaseDataCollector.php, line 35

Class

DatabaseDataCollector
Class DatabaseDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

public function __construct(Connection $database, ConfigFactoryInterface $configFactory) {
  $this->database = $database;
  $this->configFactory = $configFactory;
}