$this->connection->
reset();
} catch (HttpException
$e) { throw new TransportException($e->
getMessage(), 0,
$e);
} } /**
* @return MessageCountAwareInterface&ReceiverInterface
*/
private function getReceiver(): ReceiverInterface
{ return $this->receiver ??=
new AmazonSqsReceiver($this->connection,
$this->serializer
);
} private function getSender(): SenderInterface
{ return $this->sender ??=
new AmazonSqsSender($this->connection,
$this->serializer
);
}}