Метод rollBack

private

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

private function rollBack(GeneratedFilesSnapshot $snapshot): string

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

Описание

Takes the generated files back to the state they were delivered in, and says how that went: a rollback reported as done while a file stayed as generation wrote it would leave the working copy holding a template the tests have just rejected, with nobody looking for it.

Параметры

1
Имя Тип По умолчанию Флаги
$snapshot GeneratedFilesSnapshot —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Cli/AiAgentGenerate.php
Расположение метода в файле
Строки 221–233

Исходный код

PHP