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

Breadcrumb

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

function MessageEvent::getStamps

Return value

StampInterface[]

File

vendor/symfony/mailer/Event/MessageEvent.php, line 93

Class

MessageEvent
Allows the transformation of a Message and the Envelope before the email is sent.

Namespace

Symfony\Component\Mailer\Event

Code

public function getStamps() : array {
    if (!$this->queued) {
        throw new LogicException(\sprintf('Cannot call "%s()" on a message that is not meant to be queued.', __METHOD__));
    }
    return $this->stamps;
}
RSS feed
Powered by Drupal