Files
033f0c84da v4.7 (#12478)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
Co-authored-by: Aditya Tripathi <aditya@climactic.co>
2026-11-06 14:25:02 +01:00

25 lines
399 B
PHP

<?php
namespace App\Services\Dns;
/**
* A single parsed DNS address record (A or AAAA).
*/
final class DnsRecord
{
public function __construct(
private readonly string $type,
private readonly string $data,
) {}
public function getType(): string
{
return $this->type;
}
public function getData(): string
{
return $this->data;
}
}