Метод generate
Сигнатура метода
public function generate(string $agentName): array
Возвращает:
array
Описание
Generation is all or nothing: when this throws, the delivered files of the agent are as they were. Every refusal is settled before the first write, and a write that fails is rolled back.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$agentName
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentTemplateGenerator.php
Расположение метода в файле
Строки
55–110