Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
peripherad
/
vendor
/
egulias
/
email-validator
/
src
/
Validation
:
DNSRecords.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Egulias\EmailValidator\Validation; class DNSRecords { /** * @param array $records * @param bool $error */ public function __construct(private readonly array $records, private readonly bool $error = false) { } /** * @return array */ public function getRecords(): array { return $this->records; } public function withError(): bool { return $this->error; } }