public function DatabaseDataCollector::__construct in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::__construct()
- 8 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::__construct()
- 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\DataCollectorCode
public function __construct(Connection $database, ConfigFactoryInterface $configFactory) {
$this->database = $database;
$this->configFactory = $configFactory;
}