File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ CHANGELOG
4
4
5.1.0
5
5
-----
6
6
7
+ * Added the Mattermost notifier bridge
7
8
* [ BC BREAK] The ` ChatMessage::fromNotification() ` method's ` $recipient ` and ` $transport `
8
9
arguments were removed.
9
10
* [ BC BREAK] The ` EmailMessage::fromNotification() ` and ` SmsMessage::fromNotification() `
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ class UnsupportedSchemeException extends LogicException
30
30
'class ' => Bridge \Telegram \TelegramTransportFactory::class,
31
31
'package ' => 'symfony/telegram-notifier ' ,
32
32
],
33
+ 'mattermost ' => [
34
+ 'class ' => Bridge \Mattermost \MattermostTransportFactory::class,
35
+ 'package ' => 'symfony/mattermost-notifier ' ,
36
+ ],
33
37
'nexmo ' => [
34
38
'class ' => Bridge \Nexmo \NexmoTransportFactory::class,
35
39
'package ' => 'symfony/nexmo-notifier ' ,
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Notifier ;
13
13
14
+ use Symfony \Component \Notifier \Bridge \Mattermost \MattermostTransportFactory ;
14
15
use Symfony \Component \Notifier \Bridge \Nexmo \NexmoTransportFactory ;
15
16
use Symfony \Component \Notifier \Bridge \Slack \SlackTransportFactory ;
16
17
use Symfony \Component \Notifier \Bridge \Telegram \TelegramTransportFactory ;
@@ -36,6 +37,7 @@ class Transport
36
37
private const FACTORY_CLASSES = [
37
38
SlackTransportFactory::class,
38
39
TelegramTransportFactory::class,
40
+ MattermostTransportFactory::class,
39
41
NexmoTransportFactory::class,
40
42
TwilioTransportFactory::class,
41
43
];
You can’t perform that action at this time.
0 commit comments