Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
inputvalue.php
1<?php
2
4
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}