Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
inputvalue.php
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO
;
4
5
class
InputValue
implements
TolokaTransferObject
6
{
10
private
$identificator;
11
15
private
$value;
16
20
public
function
getIdentificator
(): string
21
{
22
return
$this->identificator;
23
}
24
30
public
function
setIdentificator
(
string
$identificator):
InputValue
31
{
32
$this->identificator = $identificator;
33
34
return
$this;
35
}
36
40
public
function
getValue
(): string
41
{
42
return
$this->value;
43
}
44
50
public
function
setValue
(
string
$value):
InputValue
51
{
52
$this->value = $value;
53
54
return
$this;
55
}
56
57
58
59
public
function
toArray
(): array
60
{
61
return
[
62
$this->identificator => $this->value
63
];
64
}
65
}
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputValue
Definition
inputvalue.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputValue\setIdentificator
setIdentificator(string $identificator)
Definition
inputvalue.php:30
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputValue\toArray
toArray()
Definition
inputvalue.php:59
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputValue\getIdentificator
getIdentificator()
Definition
inputvalue.php:20
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputValue\getValue
getValue()
Definition
inputvalue.php:40
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputValue\setValue
setValue(string $value)
Definition
inputvalue.php:50
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
Definition
tolokatransferobject.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO
modules
sender
lib
integration
yandex
toloka
dto
inputvalue.php
Создано системой
1.10.0