Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
pooldefaultsassembler.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\PoolDefaults
;
6
7
class
PoolDefaultsAssembler
implements
Assembler
8
{
14
public
static
function
toDTO
(
HttpRequest
$request)
15
{
16
$defaults =
new
PoolDefaults
();
17
18
$defaults->setOverlapForNewTaskSuites($request->get(
'overlap'
));
19
$defaults->setOverlapForNewTasks($request->get(
'overlap'
));
20
21
return
$defaults;
22
}
23
}
Bitrix\Main\HttpRequest
Definition
httprequest.php:20
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\PoolDefaultsAssembler
Definition
pooldefaultsassembler.php:8
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\PoolDefaultsAssembler\toDTO
static toDTO(HttpRequest $request)
Definition
pooldefaultsassembler.php:14
Bitrix\Sender\Integration\Yandex\Toloka\DTO\PoolDefaults
Definition
pooldefaults.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\Assembler
Definition
assembler.php:8
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler
Definition
assembler.php:2
modules
sender
lib
integration
yandex
toloka
dto
assembler
pooldefaultsassembler.php
Создано системой
1.10.0