Метод __construct
Сигнатура метода
public function __construct(?ManagedAgentInstanceRepositoryInterface $instanceRepository = null, ?ManagedAgentResourceRepositoryInterface $resourceRepository = null, float $deadlineSeconds = self::DEFAULT_DEADLINE_SECONDS, int $batchLimit = self::DEFAULT_BATCH_LIMIT)
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$instanceRepository
|
?ManagedAgentInstanceRepositoryInterface
|
null
|
—
|
$resourceRepository
|
?ManagedAgentResourceRepositoryInterface
|
null
|
—
|
$deadlineSeconds
|
float
|
self::DEFAULT_DEADLINE_SECONDS
|
—
|
$batchLimit
|
int
|
self::DEFAULT_BATCH_LIMIT
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Cleanup/StorageScopeCleanup.php
Расположение метода в файле
Строки
89–98