Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SelectExtender.php

function SelectExtender::__clone

Overrides SelectInterface::__clone

File

core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 495

Class

SelectExtender
The base extender class for Select queries.

Namespace

Drupal\Core\Database\Query

Code

public function __clone() {
    $this->uniqueIdentifier = uniqid('', TRUE);
    // We need to deep-clone the query we're wrapping, which in turn may
    // deep-clone other objects.  Exciting!
    $this->query = clone $this->query;
}
RSS feed
Powered by Drupal