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

Breadcrumb

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

function Message::__construct

Same name in this branch
  1. 11.1.x vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php \Google\Protobuf\Internal\Message::__construct()
  2. 11.1.x composer/Plugin/ProjectMessage/Message.php \Drupal\Composer\Plugin\ProjectMessage\Message::__construct()

Overrides RawMessage::__construct

2 calls to Message::__construct()
DraftEmail::__construct in vendor/symfony/mime/DraftEmail.php
DraftEmail::__construct in vendor/symfony/mime/DraftEmail.php
1 method overrides Message::__construct()
DraftEmail::__construct in vendor/symfony/mime/DraftEmail.php

File

vendor/symfony/mime/Message.php, line 26

Class

Message
@author Fabien Potencier <fabien@symfony.com>

Namespace

Symfony\Component\Mime

Code

public function __construct(?Headers $headers = null, ?AbstractPart $body = null) {
    $this->headers = $headers ? clone $headers : new Headers();
}
RSS feed
Powered by Drupal