Метод copy

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

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

Путь к исходному файлу строки 110–137
~/bitrix/modulesim/lib/V2/Recent/Initializer/Queue/QueueItem.php

Исходный код

PHP
protected

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

protected function copy(?int $id = null, ?int $userId = null, ?StageType $stageType = null, ?SourceType $sourceType = null, ?int $sourceId = null, ?string $pointer = null, ?string $status = null, ?bool $isLocked = null, ?DateTime $dateCreate = null, ?DateTime $dateUpdate = null, ?bool $isFirstInit = null): self

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

Параметры

11
Имя Тип По умолчанию Флаги
$id ?int null
-
$userId ?int null
-
$stageType ?StageType null
-
$sourceType ?SourceType null
-
$sourceId ?int null
-
$pointer ?string null
-
$status ?string null
-
$isLocked ?bool null
-
$dateCreate ?DateTime null
-
$dateUpdate ?DateTime null
-
$isFirstInit ?bool null
-