Метод __construct
Сигнатура метода
public function __construct(string $systemCode, SystemAiAgentContext $context, int $userId, SystemAiAgentActivationParameters $activation = new SystemAiAgentActivationParameters())
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$systemCode
|
string
|
—
|
—
|
$context
|
SystemAiAgentContext
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$activation
|
SystemAiAgentActivationParameters
|
new SystemAiAgentActivationParameters()
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Command/AiAgent/EnableSystemAiAgentCommand.php
Расположение метода в файле
Строки
46–53