Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/public_html/vendor/egulias/email-validator/src/Validation/
Dosya Yükle :
Current File : /home/u866425823/public_html/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;

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

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

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

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.