Метод getInstance
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
44–51
~/bitrix/modulesim/lib/V2/Recent/Initializer/BaseSource.php
Исходный код
Сигнатура метода
public static function getInstance(SourceType $type, int $targetId, ?int $sourceId, Stage $stage): Source
Возвращает:
Source
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
SourceType
|
-
|
-
|
$targetId
|
int
|
-
|
-
|
$sourceId
|
?int
|
-
|
-
|
$stage
|
Stage
|
-
|
-
|