You are here

public function Schema::__clone in Drupal 10

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

Implements the magic __clone function.

File

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

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

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