W3cubDocs

/Drupal 8

public function Schema::__construct

public Schema::__construct($connection)

File

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

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Schema.php/function/Schema::__construct/8.1.x