return false;
} public function send(MessageInterface
$message): SentMessage
{ if (!
$this->
supports($message)) { throw new LogicException(sprintf('None of the configured Transports of "%s" supports the given message.',
static::
class));
} while ($transport =
$this->
getNextTransport($message)) { try { return $transport->
send($message);
} catch (TransportExceptionInterface
) { $this->deadTransports
[$transport] =
microtime(true
);
} } throw new RuntimeException('All transports failed.'
);
} /**
* Rotates the transport list around and returns the first instance.
*/