1 | <?php |
||
7 | class IPv6Address extends IPAddress |
||
8 | { |
||
9 | /** |
||
10 | * Initialize from octets. |
||
11 | * |
||
12 | * @param string $octets |
||
13 | * |
||
14 | * @throws \InvalidArgumentException |
||
15 | * |
||
16 | * @return self |
||
17 | */ |
||
18 | 11 | public static function fromOctets(string $octets): self |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * Convert an array of 16 bit words to an IPv6 string representation. |
||
38 | * |
||
39 | * @param int[] $words |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | 10 | protected static function _wordsToIPv6String(array $words): string |
|
50 | } |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 16 | protected function _octets(): string |
|
65 |