abstract protected function PdoProfilerStorage::initDb

Initializes the database

Throws

\RuntimeException When the requested database driver is not installed

7 calls to PdoProfilerStorage::initDb()
PdoProfilerStorage::cleanup in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php
PdoProfilerStorage::find in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php
Finds profiler tokens for the given criteria.
PdoProfilerStorage::has in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php
Returns whether data for the given token already exists in storage.
PdoProfilerStorage::purge in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php
Purges all data from the database.
PdoProfilerStorage::read in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php
Reads data associated with the given token.

... See full list

2 methods override PdoProfilerStorage::initDb()
MysqlProfilerStorage::initDb in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/MysqlProfilerStorage.php
Initializes the database
SqliteProfilerStorage::initDb in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/SqliteProfilerStorage.php

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php, line 137

Class

PdoProfilerStorage
Base PDO storage for profiling information in a PDO database.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

protected abstract function initDb();