Метод disableFeature

private

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

private function disableFeature(int $failedAttempts, string $reason, array $context): void

Возвращает: void

Описание

The agent stays in the schedule and lands in the branch of the disabled feature on its next run, which is why the daily period is set here. The counter is already consumed by the check of the period above, so enabling the feature again meets a fresh ladder.

Параметры

3
Имя Тип По умолчанию Флаги
$failedAttempts int —
—
$reason string —
—
$context array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/agent/copilot/callscoringv2bootstrapagent.php
Расположение метода в файле
Строки 403–412

Исходный код

PHP