Метод verifyRoundTrip

public

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

public function verifyRoundTrip(array $originalTemplate, array $reversedSource): EquivalenceReport

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

Описание

Builds the reversed source back and tells what the round trip changed: the criterion of equivalence lives in TemplateComparator, and the report of it decides whether such a source may be written.

Параметры

2
Имя Тип По умолчанию Флаги
$originalTemplate array —
—
$reversedSource array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateReverser/TemplateReverser.php
Расположение метода в файле
Строки 164–170

Исходный код

PHP