new Dsn('scaleway+smtp', 'example.com'
),
true,
];
} public static function createProvider(): iterable
{ $logger =
new NullLogger();
yield [ new Dsn('scaleway+api', 'default', self::USER, self::PASSWORD, null,
['region' => 'fr-par'
]),
new ScalewayApiTransport(self::USER, self::PASSWORD, 'fr-par',
new MockHttpClient(), null,
$logger),
];
yield [ new Dsn('scaleway', 'default', self::USER, self::PASSWORD
),
new ScalewayApiTransport(self::USER, self::PASSWORD, null,
new MockHttpClient(), null,
$logger),
];
yield [ new Dsn('scaleway+smtp', 'default', self::USER, self::PASSWORD
),
new ScalewaySmtpTransport(self::USER, self::PASSWORD, null,
$logger),
];