W3cubDocs

/Drupal 8

public function Schema::__clone

public Schema::__clone()

Implements the magic __clone function.

File

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

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

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

© 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::__clone/8.1.x