You are here

public function Schema::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::__construct()

File

core/lib/Drupal/Core/Database/Schema.php, line 46

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

public function __construct($connection) {
  $this->uniqueIdentifier = uniqid('', TRUE);
  $this->connection = $connection;
}