public function create(Dsn
$dsn): SendinblueTransport
{ trigger_deprecation('symfony/sendinblue-notifier', '6.3', 'The "%s" class is deprecated, use "%s" instead.', SendinblueTransport::
class, BrevoTransport::
class);
$scheme =
$dsn->
getScheme();
if ('sendinblue' !==
$scheme) { throw new UnsupportedSchemeException($dsn, 'sendinblue',
$this->
getSupportedSchemes());
} $apiKey =
$this->
getUser($dsn);
$sender =
$dsn->
getRequiredOption('sender'
);
$host = 'default' ===
$dsn->
getHost() ? null :
$dsn->
getHost();
$port =
$dsn->
getPort();
return (new SendinblueTransport($apiKey,
$sender,
$this->client,
$this->dispatcher
))->
setHost($host)->
setPort($port);
} protected function getSupportedSchemes(): array
{ return ['sendinblue'
];
}}