new Dsn('postmark+api', 'example.com', self::USER, '', 8080
),
(new PostmarkApiTransport(self::USER,
new MockHttpClient(), null,
$logger))->
setHost('example.com'
)->
setPort(8080
),
];
yield [ new Dsn('postmark+api', 'example.com', self::USER, '', 8080,
['message_stream' => 'broadcasts'
]),
(new PostmarkApiTransport(self::USER,
new MockHttpClient(), null,
$logger))->
setHost('example.com'
)->
setPort(8080
)->
setMessageStream('broadcasts'
),
];
yield [ new Dsn('postmark', 'default', self::USER
),
new PostmarkSmtpTransport(self::USER, null,
$logger),
];
yield [ new Dsn('postmark+smtp', 'default', self::USER
),
new PostmarkSmtpTransport(self::USER, null,
$logger),
];
yield [ new Dsn('postmark+smtps', 'default', self::USER
),
new PostmarkSmtpTransport(self::USER, null,
$logger),
];