Your IP : 3.129.71.13


Current Path : /home/lentoinv/api.lentoria.com/vendor/egulias/email-validator/src/Validation/
Upload File :
Current File : /home/lentoinv/api.lentoria.com/vendor/egulias/email-validator/src/Validation/DNSRecords.php

<?php

namespace Egulias\EmailValidator\Validation;

class DNSRecords
{
    
    /**
     * @var array $records
     */
    private $records = [];

    /**
     * @var bool $error
     */
    private $error = false;

    public function __construct(array $records, bool $error = false)
    {
        $this->records = $records;
        $this->error = $error;
    }

    public function getRecords() : array
    {
        return $this->records;
    }

    public function withError() : bool
    {
        return $this->error;
    }


}

?>