$exception ??=
new TransportException('All transports failed.'
);
$exception->
appendDebug(sprintf("Transport \"%s\": %s\n",
$transport,
$e->
getDebug()));
$this->deadTransports
[$transport] =
microtime(true
);
} } throw $exception ??
new TransportException('No transports found.'
);
} public function __toString(): string
{ return $this->
getNameSymbol().'('.
implode(' ',
array_map('strval',
$this->transports
)).')';
} /**
* Rotates the transport list around and returns the first instance.
*/
protected function getNextTransport(): ?TransportInterface
{ if (-1 ===
$this->cursor
) { $this->cursor =
$this->
getInitialCursor();
}