1 | <?php |
||
5 | class Dns |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | private $type; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $name; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $value; |
||
21 | |||
22 | /** |
||
23 | * Dns constructor. |
||
24 | * |
||
25 | * @param string $type |
||
26 | * @param string $name |
||
27 | * @param string $value |
||
28 | */ |
||
29 | 7 | public function __construct($type, $name, $value) |
|
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | 1 | public function getType() |
|
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | 1 | public function getName() |
|
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | 1 | public function getValue() |
|
59 | } |
||
60 |