Skip to content

Commit e61ca7c

Browse files
PGLongoOskarStark
authored andcommitted
[Notifier] Add GatewayApi bridge
1 parent d90452c commit e61ca7c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ class UnsupportedSchemeException extends LogicException
8888
'class' => Bridge\Discord\DiscordTransportFactory::class,
8989
'package' => 'symfony/discord-notifier',
9090
],
91+
'gatewayapi' => [
92+
'class' => Bridge\GatewayApi\GatewayApiTransportFactory::class,
93+
'package' => 'symfony/gatewayapi-notifier',
94+
],
9195
];
9296

9397
/**

Transport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
1616
use Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory;
1717
use Symfony\Component\Notifier\Bridge\FreeMobile\FreeMobileTransportFactory;
18+
use Symfony\Component\Notifier\Bridge\GatewayApi\GatewayApiTransportFactory;
1819
use Symfony\Component\Notifier\Bridge\Infobip\InfobipTransportFactory;
1920
use Symfony\Component\Notifier\Bridge\Iqsms\IqsmsTransportFactory;
2021
use Symfony\Component\Notifier\Bridge\Mattermost\MattermostTransportFactory;
@@ -64,6 +65,7 @@ class Transport
6465
EsendexTransportFactory::class,
6566
SendinblueTransportFactory::class,
6667
DiscordTransportFactory::class,
68+
GatewayApiTransportFactory::class,
6769
];
6870

6971
private $factories;

0 commit comments

Comments
 (0)