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

Breadcrumb

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

function DelayedEnvelope::getRecipients

Return value

Address[]

Overrides Envelope::getRecipients

File

vendor/symfony/mailer/DelayedEnvelope.php, line 60

Class

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

Namespace

Symfony\Component\Mailer

Code

public function getRecipients() : array {
    if ($this->recipientsSet) {
        return parent::getRecipients();
    }
    return self::getRecipientsFromHeaders($this->message
        ->getHeaders());
}
RSS feed
Powered by Drupal