Skip to content

Commit 231b984

Browse files
Jeroenyfabpot
authored andcommitted
[Notifier] Add Firebase bridge
1 parent 66d0c40 commit 231b984

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
@@ -42,6 +42,10 @@ class UnsupportedSchemeException extends LogicException
4242
'class' => Bridge\Twilio\TwilioTransportFactory::class,
4343
'package' => 'symfony/twilio-notifier',
4444
],
45+
'firebase' => [
46+
'class' => Bridge\Firebase\FirebaseTransportFactory::class,
47+
'package' => 'symfony/firebase-notifier',
48+
],
4549
];
4650

4751
/**

Transport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\Notifier;
1313

14+
use Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory;
1415
use Symfony\Component\Notifier\Bridge\Mattermost\MattermostTransportFactory;
1516
use Symfony\Component\Notifier\Bridge\Nexmo\NexmoTransportFactory;
1617
use Symfony\Component\Notifier\Bridge\Slack\SlackTransportFactory;
@@ -40,6 +41,7 @@ class Transport
4041
MattermostTransportFactory::class,
4142
NexmoTransportFactory::class,
4243
TwilioTransportFactory::class,
44+
FirebaseTransportFactory::class,
4345
];
4446

4547
private $factories;

0 commit comments

Comments
 (0)