| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | final class DomainRegistrationResult implements DtoInterface |
||
| 6 | { |
||
| 7 | public string $domainName; |
||
| 8 | public int $expirationDate; |
||
| 9 | |||
| 10 | private function __construct( |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Hydrate from Dynadot's response data. |
||
| 20 | * |
||
| 21 | * @param array<string,mixed> $data |
||
| 22 | * @return self |
||
| 23 | */ |
||
| 24 | public static function fromArray(array $data): self |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return array<string, mixed> |
||
| 34 | */ |
||
| 35 | public function jsonSerialize(): array |
||
| 42 | } |