Transport
in package
FinalYes
Tags
Table of Contents
Constants
- FACTORY_CLASSES = [\Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory::class, \Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory::class, \Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory::class, \Symfony\Component\Notifier\Bridge\Expo\ExpoTransportFactory::class, \Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory::class, \Symfony\Component\Notifier\Bridge\FreeMobile\FreeMobileTransportFactory::class, \Symfony\Component\Notifier\Bridge\GatewayApi\GatewayApiTransportFactory::class, \Symfony\Component\Notifier\Bridge\Gitter\GitterTransportFactory::class, \Symfony\Component\Notifier\Bridge\Infobip\InfobipTransportFactory::class, \Symfony\Component\Notifier\Bridge\Iqsms\IqsmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\LightSms\LightSmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Mailjet\MailjetTransportFactory::class, \Symfony\Component\Notifier\Bridge\Mattermost\MattermostTransportFactory::class, \Symfony\Component\Notifier\Bridge\MessageBird\MessageBirdTransportFactory::class, \Symfony\Component\Notifier\Bridge\MessageMedia\MessageMediaTransportFactory::class, \Symfony\Component\Notifier\Bridge\MicrosoftTeams\MicrosoftTeamsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Mobyt\MobytTransportFactory::class, \Symfony\Component\Notifier\Bridge\Octopush\OctopushTransportFactory::class, \Symfony\Component\Notifier\Bridge\OvhCloud\OvhCloudTransportFactory::class, \Symfony\Component\Notifier\Bridge\RocketChat\RocketChatTransportFactory::class, \Symfony\Component\Notifier\Bridge\Sendinblue\SendinblueTransportFactory::class, \Symfony\Component\Notifier\Bridge\Sinch\SinchTransportFactory::class, \Symfony\Component\Notifier\Bridge\Slack\SlackTransportFactory::class, \Symfony\Component\Notifier\Bridge\Sms77\Sms77TransportFactory::class, \Symfony\Component\Notifier\Bridge\Smsapi\SmsapiTransportFactory::class, \Symfony\Component\Notifier\Bridge\SmsBiuras\SmsBiurasTransportFactory::class, \Symfony\Component\Notifier\Bridge\Smsc\SmscTransportFactory::class, \Symfony\Component\Notifier\Bridge\Telegram\TelegramTransportFactory::class, \Symfony\Component\Notifier\Bridge\Telnyx\TelnyxTransportFactory::class, \Symfony\Component\Notifier\Bridge\TurboSms\TurboSmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Twilio\TwilioTransportFactory::class, \Symfony\Component\Notifier\Bridge\Vonage\VonageTransportFactory::class, \Symfony\Component\Notifier\Bridge\Yunpian\YunpianTransportFactory::class, \Symfony\Component\Notifier\Bridge\Zulip\ZulipTransportFactory::class]
Properties
- $factories : iterable<string|int, mixed>
Methods
- __construct() : mixed
- fromDsn() : TransportInterface
- fromDsnObject() : TransportInterface
- fromDsns() : TransportInterface
- fromString() : TransportInterface
- fromStrings() : Transports
- createFromDsns() : array<string|int, TransportInterface>
- getDefaultFactories() : array<string|int, TransportFactoryInterface>
Constants
FACTORY_CLASSES
private
mixed
FACTORY_CLASSES
= [\Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory::class, \Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory::class, \Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory::class, \Symfony\Component\Notifier\Bridge\Expo\ExpoTransportFactory::class, \Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory::class, \Symfony\Component\Notifier\Bridge\FreeMobile\FreeMobileTransportFactory::class, \Symfony\Component\Notifier\Bridge\GatewayApi\GatewayApiTransportFactory::class, \Symfony\Component\Notifier\Bridge\Gitter\GitterTransportFactory::class, \Symfony\Component\Notifier\Bridge\Infobip\InfobipTransportFactory::class, \Symfony\Component\Notifier\Bridge\Iqsms\IqsmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\LightSms\LightSmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Mailjet\MailjetTransportFactory::class, \Symfony\Component\Notifier\Bridge\Mattermost\MattermostTransportFactory::class, \Symfony\Component\Notifier\Bridge\MessageBird\MessageBirdTransportFactory::class, \Symfony\Component\Notifier\Bridge\MessageMedia\MessageMediaTransportFactory::class, \Symfony\Component\Notifier\Bridge\MicrosoftTeams\MicrosoftTeamsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Mobyt\MobytTransportFactory::class, \Symfony\Component\Notifier\Bridge\Octopush\OctopushTransportFactory::class, \Symfony\Component\Notifier\Bridge\OvhCloud\OvhCloudTransportFactory::class, \Symfony\Component\Notifier\Bridge\RocketChat\RocketChatTransportFactory::class, \Symfony\Component\Notifier\Bridge\Sendinblue\SendinblueTransportFactory::class, \Symfony\Component\Notifier\Bridge\Sinch\SinchTransportFactory::class, \Symfony\Component\Notifier\Bridge\Slack\SlackTransportFactory::class, \Symfony\Component\Notifier\Bridge\Sms77\Sms77TransportFactory::class, \Symfony\Component\Notifier\Bridge\Smsapi\SmsapiTransportFactory::class, \Symfony\Component\Notifier\Bridge\SmsBiuras\SmsBiurasTransportFactory::class, \Symfony\Component\Notifier\Bridge\Smsc\SmscTransportFactory::class, \Symfony\Component\Notifier\Bridge\Telegram\TelegramTransportFactory::class, \Symfony\Component\Notifier\Bridge\Telnyx\TelnyxTransportFactory::class, \Symfony\Component\Notifier\Bridge\TurboSms\TurboSmsTransportFactory::class, \Symfony\Component\Notifier\Bridge\Twilio\TwilioTransportFactory::class, \Symfony\Component\Notifier\Bridge\Vonage\VonageTransportFactory::class, \Symfony\Component\Notifier\Bridge\Yunpian\YunpianTransportFactory::class, \Symfony\Component\Notifier\Bridge\Zulip\ZulipTransportFactory::class]
Properties
$factories
private
iterable<string|int, mixed>
$factories
Methods
__construct()
public
__construct(iterable<mixed, TransportFactoryInterface> $factories) : mixed
Parameters
- $factories : iterable<mixed, TransportFactoryInterface>
fromDsn()
public
static fromDsn(string $dsn[, EventDispatcherInterface $dispatcher = null ][, HttpClientInterface $client = null ]) : TransportInterface
Parameters
- $dsn : string
- $dispatcher : EventDispatcherInterface = null
- $client : HttpClientInterface = null
Return values
TransportInterfacefromDsnObject()
public
fromDsnObject(Dsn $dsn) : TransportInterface
Parameters
- $dsn : Dsn
Return values
TransportInterfacefromDsns()
public
static fromDsns(array<string|int, mixed> $dsns[, EventDispatcherInterface $dispatcher = null ][, HttpClientInterface $client = null ]) : TransportInterface
Parameters
- $dsns : array<string|int, mixed>
- $dispatcher : EventDispatcherInterface = null
- $client : HttpClientInterface = null
Return values
TransportInterfacefromString()
public
fromString(string $dsn) : TransportInterface
Parameters
- $dsn : string
Return values
TransportInterfacefromStrings()
public
fromStrings(array<string|int, mixed> $dsns) : Transports
Parameters
- $dsns : array<string|int, mixed>
Return values
TransportscreateFromDsns()
private
createFromDsns(array<string|int, mixed> $dsns) : array<string|int, TransportInterface>
Parameters
- $dsns : array<string|int, mixed>
Return values
array<string|int, TransportInterface>getDefaultFactories()
private
static getDefaultFactories([EventDispatcherInterface $dispatcher = null ][, HttpClientInterface $client = null ]) : array<string|int, TransportFactoryInterface>
Parameters
- $dispatcher : EventDispatcherInterface = null
- $client : HttpClientInterface = null