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

Breadcrumb

  1. Drupal Core 11.1.x
  2. Email.php

function Email::__construct

Same name in this branch
  1. 11.1.x vendor/symfony/validator/Constraints/Email.php \Symfony\Component\Validator\Constraints\Email::__construct()

File

vendor/phar-io/manifest/src/values/Email.php, line 20

Class

Email

Namespace

PharIo\Manifest

Code

public function __construct(string $email) {
    $this->ensureEmailIsValid($email);
    $this->email = $email;
}
RSS feed
Powered by Drupal