| Total Complexity | 5 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | final class PTRData extends DataAbstract implements \Stringable |
||
| 9 | { |
||
| 10 | public function __construct(private Hostname $hostname) |
||
| 11 | { |
||
| 12 | } |
||
| 13 | |||
| 14 | public function __toString(): string |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getHostname(): Hostname |
||
| 20 | { |
||
| 21 | return $this->hostname; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function toArray(): array |
||
| 28 | ]; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function __unserialize(array $unserialized): void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |