Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
taskspecassembler.php
1<?php
3
7
9{
10
16 public static function toDTO(HttpRequest $request)
17 {
18 $taskSpec = new TaskSpec();
19 $inputSpec = InputSpecAssembler::toDTO($request);
20 $outputSpec = OutputSpecAssembler::toDTO($request);
21 $viewSpec = ViewSpecAssembler::toDTO($request);
22
23 $taskSpec->setInputSpec($inputSpec);
24 $taskSpec->setOutputSpec($outputSpec);
25 $taskSpec->setViewSpec($viewSpec);
26
27 return $taskSpec;
28 }
29}