function DatabaseProfilerStorage::__construct in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Profiler/DatabaseProfilerStorage.php \Drupal\webprofiler\Profiler\DatabaseProfilerStorage::__construct()
- 8.2 webprofiler/src/Profiler/DatabaseProfilerStorage.php \Drupal\webprofiler\Profiler\DatabaseProfilerStorage::__construct()
- 4.x webprofiler/src/Profiler/DatabaseProfilerStorage.php \Drupal\webprofiler\Profiler\DatabaseProfilerStorage::__construct()
Constructs a new DatabaseProfilerStorage instance.
Parameters
\Drupal\Core\Database\Connection $database: The database connection.
File
- webprofiler/
src/ Profiler/ DatabaseProfilerStorage.php, line 27
Class
- DatabaseProfilerStorage
- Implements a profiler storage using the DBTNG query api.
Namespace
Drupal\webprofiler\ProfilerCode
function __construct(Connection $database) {
$this->database = $database;
}