Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
outputspecassembler.php
1
<?php
2
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler
;
3
4
use
Bitrix\Main\HttpRequest
;
5
use
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec
;
6
use
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
;
7
8
class
OutputSpecAssembler
implements
Assembler
9
{
10
16
public
static
function
toDTO
(
HttpRequest
$request)
17
{
18
$outputSpec =
new
InputOutputSpec
();
19
20
$outputSpec->setIdentificator($request->get(
'output_identificator'
));
21
$outputSpec->setType($request->get(
'output_type'
));
22
23
return
$outputSpec;
24
}
25
26
}
Bitrix\Main\HttpRequest
Definition
httprequest.php:20
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\OutputSpecAssembler
Definition
outputspecassembler.php:9
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\OutputSpecAssembler\toDTO
static toDTO(HttpRequest $request)
Definition
outputspecassembler.php:16
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec
Definition
inputoutputspec.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\Assembler
Definition
assembler.php:8
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
Definition
tolokatransferobject.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler
Definition
assembler.php:2
modules
sender
lib
integration
yandex
toloka
dto
assembler
outputspecassembler.php
Создано системой
1.10.0