* @link https://www.oxidmodule.com */ declare(strict_types=1); namespace D3\MailConfigChecker\Application\Model; class DmarcResult { public const SET = 'set'; public const MISSING = 'missing'; public const ERROR = 'error'; protected $status; protected $record; public function __construct(string $status, ?string $record = null) { $this->status = $status; $this->record = $record; } public function getStatus(): string { return $this->status; } public function getRecord(): ?string { return $this->record; } }