Skip to content

Commit f3e87c6

Browse files
aurelienheyliotOskarStark
authored andcommitted
Add Octopush notifier transport
1 parent e61ca7c commit f3e87c6

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
@@ -92,6 +92,10 @@ class UnsupportedSchemeException extends LogicException
9292
'class' => Bridge\GatewayApi\GatewayApiTransportFactory::class,
9393
'package' => 'symfony/gatewayapi-notifier',
9494
],
95+
'octopush' => [
96+
'class' => Bridge\Octopush\OctopushTransportFactory::class,
97+
'package' => 'symfony/octopush-notifier',
98+
],
9599
];
96100

97101
/**

Transport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
use Symfony\Component\Notifier\Bridge\Mattermost\MattermostTransportFactory;
2222
use Symfony\Component\Notifier\Bridge\Mobyt\MobytTransportFactory;
2323
use Symfony\Component\Notifier\Bridge\Nexmo\NexmoTransportFactory;
24+
use Symfony\Component\Notifier\Bridge\Octopush\OctopushTransportFactory;
2425
use Symfony\Component\Notifier\Bridge\OvhCloud\OvhCloudTransportFactory;
2526
use Symfony\Component\Notifier\Bridge\RocketChat\RocketChatTransportFactory;
2627
use Symfony\Component\Notifier\Bridge\Sendinblue\SendinblueTransportFactory;
@@ -66,6 +67,7 @@ class Transport
6667
SendinblueTransportFactory::class,
6768
DiscordTransportFactory::class,
6869
GatewayApiTransportFactory::class,
70+
OctopushTransportFactory::class,
6971
];
7072

7173
private $factories;

0 commit comments

Comments
 (0)