You are here

function SchemaTestDatabaseConnection::__construct in Schema 7

Same name and namespace in other branches
  1. 8 tests/schema_test/SchemaTestDatabaseConnection.php \SchemaTestDatabaseConnection::__construct()

Overrides DatabaseConnection::__construct

File

tests/schema_test/SchemaTestDatabaseConnection.php, line 9
Defines SchemaTestDatabaseConnection.

Class

SchemaTestDatabaseConnection
@file Defines SchemaTestDatabaseConnection.

Code

function __construct(array $connection_options = array()) {
  $this->connectionOptions = $connection_options;
  $this
    ->setPrefix(!empty($this->connectionOptions['prefix']) ? $this->connectionOptions['prefix'] : '');
}