Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

UnableToGetDNSRecord.php

Namespace

Egulias\EmailValidator\Result\Reason

File

vendor/egulias/email-validator/src/Result/Reason/UnableToGetDNSRecord.php

View source
<?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';
    }

}

Classes

Title Deprecated Summary
UnableToGetDNSRecord Used on SERVFAIL, TIMEOUT or other runtime and network errors

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal