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