-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathIpDefinition.php
More file actions
40 lines (30 loc) · 912 Bytes
/
IpDefinition.php
File metadata and controls
40 lines (30 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
declare(strict_types=1);
namespace ArrayAccess\RdapClient\Response\Definitions;
use ArrayAccess\RdapClient\Response\Data\EndAddress;
use ArrayAccess\RdapClient\Response\Data\IpVersion;
use ArrayAccess\RdapClient\Response\Data\Port43;
use ArrayAccess\RdapClient\Response\Data\StartAddress;
class IpDefinition extends AbstractResponseDefinition
{
protected ?IpVersion $ipVersion = null;
protected ?Port43 $port43 = null;
protected ?StartAddress $startAddress = null;
protected ?EndAddress $endAddress = null;
public function getIpVersion(): ?IpVersion
{
return $this->ipVersion;
}
public function getPort43(): ?Port43
{
return $this->port43;
}
public function getStartAddress(): ?StartAddress
{
return $this->startAddress;
}
public function getEndAddress(): ?EndAddress
{
return $this->endAddress;
}
}