Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
field.php
1<?php
2
4
6
12final class Field implements IField
13{
15 private $type;
17 private $value;
18
24 public function __construct(int $type, string $value = '')
25 {
26 $this->type = $type;
27 $this->value = $value;
28 }
29
33 public function setValue(string $value): void
34 {
35 $this->value = $value;
36 }
37
41 public function getValue(): string
42 {
43 return $this->value;
44 }
45
50 public function getType(): int
51 {
52 return $this->type;
53 }
54}
__construct(int $type, string $value='')
Definition field.php:24