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

Breadcrumb

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

function MessageEvents::add

File

vendor/symfony/mailer/Event/MessageEvents.php, line 31

Class

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

Namespace

Symfony\Component\Mailer\Event

Code

public function add(MessageEvent $event) : void {
    $this->events[] = $event;
    $this->transports[$event->getTransport()] = true;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal