Метод __construct

public

Сигнатура метода

public function __construct(iterable $cleanupParticipants, SystemAiAgentResolver $resolver = new SystemAiAgentResolver(), TemplateRevisionService $revisionService = new TemplateRevisionService(), SetupTemplateService $setupTemplateService = new SetupTemplateService(), AgentChatbotsExtractor $chatbotsExtractor = new AgentChatbotsExtractor(), ?SystemAiAgentConfigurationResolver $configurationResolver = null, ?SystemAiAgentCapabilityValidator $capabilityValidator = null, ?ManagedAgentResourceRegistry $registry = null, ?SystemTemplateActivationService $activationService = null, ?ScheduledTriggerSyncService $scheduleSyncService = null, ?ManagedAgentInstanceRepositoryInterface $instanceRepository = null, ?ManagedAgentResourceRepositoryInterface $resourceRepository = null, ?LoggerInterface $logger = null, int $cleanupRowLimit = ManagedResourceCleanupBudget::DEFAULT_ROW_LIMIT, float $cleanupPassSeconds = ManagedResourceCleanupBudget::DEFAULT_PASS_SECONDS)

Параметры

15
Имя Тип По умолчанию Флаги
$cleanupParticipants iterable —
—
$resolver SystemAiAgentResolver new SystemAiAgentResolver()
—
$revisionService TemplateRevisionService new TemplateRevisionService()
—
$setupTemplateService SetupTemplateService new SetupTemplateService()
—
$chatbotsExtractor AgentChatbotsExtractor new AgentChatbotsExtractor()
—
$configurationResolver ?SystemAiAgentConfigurationResolver null
—
$capabilityValidator ?SystemAiAgentCapabilityValidator null
—
$registry ?ManagedAgentResourceRegistry null
—
$activationService ?SystemTemplateActivationService null
—
$scheduleSyncService ?ScheduledTriggerSyncService null
—
$instanceRepository ?ManagedAgentInstanceRepositoryInterface null
—
$resourceRepository ?ManagedAgentResourceRepositoryInterface null
—
$logger ?LoggerInterface null
—
$cleanupRowLimit int ManagedResourceCleanupBudget::DEFAULT_ROW_LIMIT
—
$cleanupPassSeconds float ManagedResourceCleanupBudget::DEFAULT_PASS_SECONDS
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки 218–264

Исходный код

PHP