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

Breadcrumb

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

function Envelope::__construct

Parameters

Address[] $recipients:

1 method overrides Envelope::__construct()
DelayedEnvelope::__construct in vendor/symfony/mailer/DelayedEnvelope.php

File

vendor/symfony/mailer/Envelope.php, line 30

Class

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

Namespace

Symfony\Component\Mailer

Code

public function __construct(Address $sender, array $recipients) {
    $this->setSender($sender);
    $this->setRecipients($recipients);
}
RSS feed
Powered by Drupal