Метод containsExpression
Сигнатура метода
private function containsExpression(string $value): bool
Возвращает:
bool
Описание
Tells whether the value is or contains a workflow expression. isExpression() matches only whole-string expressions, while real bot codes are often literal+expression mixes (e.g. 'BOT_{=Workflow:TemplateId}'), so inline occurrences must be detected separately.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$value
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Grid/AiAgents/Service/TemplateBotUsageService.php
Расположение метода в файле
Строки
218–223