X

Create New Item

File Folder

X

Search Results

File "UnableToGetDNSRecord.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/egulias/email-validator/src/Result/Reason/UnableToGetDNSRecord.php
File size: 356 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

namespace Egulias\EmailValidator\Result\Reason;

/**
 * Used on SERVFAIL, TIMEOUT or other runtime and network errors
 */
class UnableToGetDNSRecord extends NoDNSRecord
{
    public function code() : int
    {
        return 3;
    }

    public function description() : string
    {
        return 'Unable to get DNS records for the host';
    }
}