Метод __construct
Сигнатура метода
public function __construct(?int $id, string $identityHash, string $systemCode, string $contextNamespace, string $contextType, string $contextId, int $userId, ?int $templateId, ManagedAgentInstanceState $state, string $configFingerprint, int $retryCount = 0, ?DateTime $nextRetryAt = null, ?string $lastErrorCode = null, ?DateTime $createdAt = null, ?DateTime $updatedAt = null)
Параметры
15| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
?int
|
—
|
—
|
$identityHash
|
string
|
—
|
—
|
$systemCode
|
string
|
—
|
—
|
$contextNamespace
|
string
|
—
|
—
|
$contextType
|
string
|
—
|
—
|
$contextId
|
string
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$templateId
|
?int
|
—
|
—
|
$state
|
ManagedAgentInstanceState
|
—
|
—
|
$configFingerprint
|
string
|
—
|
—
|
$retryCount
|
int
|
0
|
—
|
$nextRetryAt
|
?DateTime
|
null
|
—
|
$lastErrorCode
|
?string
|
null
|
—
|
$createdAt
|
?DateTime
|
null
|
—
|
$updatedAt
|
?DateTime
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Entity/AiAgent/ManagedAgentInstance.php
Расположение метода в файле
Строки
18–36