Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
StartWorkflowRequest.php
1<?php
2
4
6{
7 public function __construct(
8 public /* readonly */ int $userId,
9 public /* readonly */ int $targetUserId,
10
11 public /* readonly */ int $templateId,
12 public /* readonly */ array $complexDocumentId,
13 public /* readonly */ array $parameters,
14 // TODO - add method CBPDocument::getDocumentCategoryId or add DocumentId class with category id?
15 public /* readonly */ ?int $documentCategoryId = null,
16 public /* readonly */ ?array $parentWorkflow = null,
17 public /* readonly */ ?int $startDuration = null,
18 ) {}
19}
__construct(public int $userId, public int $targetUserId, public int $templateId, public array $complexDocumentId, public array $parameters, public ?int $documentCategoryId=null, public ?array $parentWorkflow=null, public ?int $startDuration=null,)