function 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\Profiler

Code

function __construct(Connection $database) {
    $this->database = $database;
}