Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
field.php
1<?php
2
4
7
13final class Field implements IField
14{
16 private $type;
17
19 private $value = '';
20
21 public function __construct(int $type, string $value = '')
22 {
23 $this->type = $type;
24 $this->value = $value;
25 }
26
30 public function getValue(): string
31 {
32 return $this->value;
33 }
34
39 public function setValue(string $value): self
40 {
41 $this->value = $value;
42 return $this;
43 }
44
49 public function getType(): int
50 {
51 return $this->type;
52 }
53}
__construct(int $type, string $value='')
Definition field.php:21