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

Breadcrumb

  1. Drupal Core 11.1.x

DNSRecords.php

Namespace

Egulias\EmailValidator\Validation

File

vendor/egulias/email-validator/src/Validation/DNSRecords.php

View source
<?php

namespace Egulias\EmailValidator\Validation;

class DNSRecords {
    
    /**
     * @param array $records
     * @param bool $error
     */
    public function __construct(array $records, bool $error = false) {
    }
    
    /**
     * @return array
     */
    public function getRecords() : array {
        return $this->records;
    }
    public function withError() : bool {
        return $this->error;
    }

}

Classes

Title Deprecated Summary
DNSRecords

API Navigation

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