Метод __construct
Сигнатура метода
public function __construct(?int $id, int $instanceId, ManagedAgentResourceType $type, string $resourceId, array $data = [], ?DateTime $createdAt = null)
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
?int
|
—
|
—
|
$instanceId
|
int
|
—
|
—
|
$type
|
ManagedAgentResourceType
|
—
|
—
|
$resourceId
|
string
|
—
|
—
|
$data
|
array
|
[]
|
—
|
$createdAt
|
?DateTime
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Entity/AiAgent/ManagedAgentResource.php
Расположение метода в файле
Строки
19–28