Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
inputspecassembler.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
InputSpecAssembler
implements
Assembler
9
{
10
16
public
static
function
toDTO
(
HttpRequest
$request)
17
{
18
$inputSpec =
new
InputOutputSpec
();
19
20
$inputSpec->setIdentificator($request->get(
'input_identificator'
));
21
$inputSpec->setType($request->get(
'input_type'
));
22
23
return
$inputSpec;
24
}
25
}
Bitrix\Main\HttpRequest
Definition
httprequest.php:20
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\InputSpecAssembler
Definition
inputspecassembler.php:9
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\InputSpecAssembler\toDTO
static toDTO(HttpRequest $request)
Definition
inputspecassembler.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
inputspecassembler.php
Создано системой
1.10.0