Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
phone.php
1<?php
2
4
10final class Phone
11{
13 private $type;
14
16 private $value;
17
23 public function __construct(string $type, string $value)
24 {
25 $this->type = $type;
26 $this->value = $value;
27 }
28
32 public function getType(): string
33 {
34 return $this->type;
35 }
36
40 public function getValue(): string
41 {
42 return $this->value;
43 }
44}
__construct(string $type, string $value)
Definition phone.php:23