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