| 1 | <?php |
||
| 8 | class Ipv6 implements IpInterface |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $ip; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Ipv4 constructor. |
||
| 18 | * @param string $ip |
||
| 19 | */ |
||
| 20 | public function __construct($ip) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getHost() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return BufferInterface |
||
| 39 | */ |
||
| 40 | public function getBuffer() |
||
| 44 | } |
||
| 45 |