public function__construct(iterable $transports) {
foreach ($transports as $name => $transport) {
$this->default ??= $transport;
$this->transports[$name] = $transport;
}
if (!$this->transports) {
thrownewLogicException(\sprintf('"%s" must have at least one transport configured.', __CLASS__));
}
}