Метод __clone

public

Сигнатура метода

public function __clone(): void

Возвращает: void

Описание

A copy sharing nothing changeable with the original. The moments are objects and the getters hand them out, so a caller moving one in place would move it for every holder of the model. Everything else is a value or an object that cannot change after it is built: the elements of the three collections ({@see ActivityBinding}, {@see ActivityCommunication}, {@see ActivityStorageElement}) are read-only, and the arrays holding them are values of their own.

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Entity/Activity/Activity.php
Расположение метода в файле
Строки 540–547

Исходный код

PHP