Project::toArray

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. Project
  4. toArray
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/yandex/toloka/dto/project.php
  • Класс: Bitrix\Sender\Integration\Yandex\Toloka\DTO\Project
  • Вызов: Project::toArray
public function toArray():array
{
	return [
		'public_name'              => $this->publicName,
		'public_description'       => $this->publicDescription,
		'public_instruction'       => $this->publicInstructions,
		'task_spec'                => $this->taskSpec->toArray(),
		'assignments_issuing_type' => $this->assignmentsIssuingType
	];
}

Добавить комментарий