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

Breadcrumb

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

function RoundRobinTransport::__construct

Parameters

TransportInterface[] $transports:

File

vendor/symfony/mailer/Transport/RoundRobinTransport.php, line 36

Class

RoundRobinTransport
Uses several Transports using a round robin algorithm.

Namespace

Symfony\Component\Mailer\Transport

Code

public function __construct(array $transports, int $retryPeriod = 60) {
    if (!$transports) {
        throw new TransportException(\sprintf('"%s" must have at least one transport configured.', static::class));
    }
    $this->deadTransports = new \SplObjectStorage();
}
RSS feed
Powered by Drupal