Skip to content

Commit 501d604

Browse files
gnito-orgnicolas-grekas
authored andcommitted
[Notifier] Add ClickSend notifier bridge
1 parent e129b31 commit 501d604

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class UnsupportedSchemeException extends LogicException
3636
'class' => Bridge\Clickatell\ClickatellTransportFactory::class,
3737
'package' => 'symfony/clickatell-notifier',
3838
],
39+
'clicksend' => [
40+
'class' => Bridge\ClickSend\ClickSendTransportFactory::class,
41+
'package' => 'symfony/click-send-notifier',
42+
],
3943
'contact-everyone' => [
4044
'class' => Bridge\ContactEveryone\ContactEveryoneTransportFactory::class,
4145
'package' => 'symfony/contact-everyone-notifier',

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public static function setUpBeforeClass(): void
3131
Bridge\Bandwidth\BandwidthTransportFactory::class => false,
3232
Bridge\Chatwork\ChatworkTransportFactory::class => false,
3333
Bridge\Clickatell\ClickatellTransportFactory::class => false,
34+
Bridge\ClickSend\ClickSendTransportFactory::class => false,
3435
Bridge\ContactEveryone\ContactEveryoneTransportFactory::class => false,
3536
Bridge\Discord\DiscordTransportFactory::class => false,
3637
Bridge\Engagespot\EngagespotTransportFactory::class => false,
@@ -111,6 +112,7 @@ public static function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \
111112
yield ['sns', 'symfony/amazon-sns-notifier'];
112113
yield ['bandwidth', 'symfony/bandwidth-notifier'];
113114
yield ['clickatell', 'symfony/clickatell-notifier'];
115+
yield ['clicksend', 'symfony/click-send-notifier'];
114116
yield ['contact-everyone', 'symfony/contact-everyone-notifier'];
115117
yield ['discord', 'symfony/discord-notifier'];
116118
yield ['esendex', 'symfony/esendex-notifier'];

Transport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ final class Transport
3333
Bridge\Bandwidth\BandwidthTransportFactory::class,
3434
Bridge\Chatwork\ChatworkTransportFactory::class,
3535
Bridge\Clickatell\ClickatellTransportFactory::class,
36+
Bridge\ClickSend\ClickSendTransportFactory::class,
3637
Bridge\ContactEveryone\ContactEveryoneTransportFactory::class,
3738
Bridge\Discord\DiscordTransportFactory::class,
3839
Bridge\Engagespot\EngagespotTransportFactory::class,

0 commit comments

Comments
 (0)