W3cubDocs

/Drupal 8

public function SelectInterface::__clone

public SelectInterface::__clone()

Clone magic method.

Select queries have dependent objects that must be deep-cloned. The connection object itself, however, should not be cloned as that would duplicate the connection itself.

File

core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 628

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function __clone();

© 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!Query!SelectInterface.php/function/SelectInterface::__clone/8.1.x