Метод toRestFormat

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

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

Путь к исходному файлу строки 64–67
~/bitrix/modulesim/lib/V2/Message/Param/CopilotSimpleReasoningPlan.php

Исходный код

PHP
public

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

public function toRestFormat(): ?array

Возвращает: ?array

Описание

The plan travels verbatim: its keys are a fixed client contract, and the json key converter would lowercase them (startedAt -> startedat).