api/symfony/Component/Mailer/Transport.yaml
2024-09-26 02:03:21 -07:00

180 lines
7.7 KiB
YAML

name: Transport
class_comment: null
dependencies:
- name: EventDispatcherInterface
type: class
source: Psr\EventDispatcher\EventDispatcherInterface
- name: LoggerInterface
type: class
source: Psr\Log\LoggerInterface
- name: SesTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Amazon\Transport\SesTransportFactory
- name: AzureTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Azure\Transport\AzureTransportFactory
- name: BrevoTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Brevo\Transport\BrevoTransportFactory
- name: GmailTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Google\Transport\GmailTransportFactory
- name: InfobipTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Infobip\Transport\InfobipTransportFactory
- name: MandrillTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Mailchimp\Transport\MandrillTransportFactory
- name: MailerSendTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\MailerSend\Transport\MailerSendTransportFactory
- name: MailgunTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunTransportFactory
- name: MailjetTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Mailjet\Transport\MailjetTransportFactory
- name: MailomatTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Mailomat\Transport\MailomatTransportFactory
- name: MailPaceTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\MailPace\Transport\MailPaceTransportFactory
- name: PostmarkTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkTransportFactory
- name: ResendTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Resend\Transport\ResendTransportFactory
- name: ScalewayTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Scaleway\Transport\ScalewayTransportFactory
- name: SendgridTransportFactory
type: class
source: Symfony\Component\Mailer\Bridge\Sendgrid\Transport\SendgridTransportFactory
- name: InvalidArgumentException
type: class
source: Symfony\Component\Mailer\Exception\InvalidArgumentException
- name: UnsupportedSchemeException
type: class
source: Symfony\Component\Mailer\Exception\UnsupportedSchemeException
- name: Dsn
type: class
source: Symfony\Component\Mailer\Transport\Dsn
- name: FailoverTransport
type: class
source: Symfony\Component\Mailer\Transport\FailoverTransport
- name: NativeTransportFactory
type: class
source: Symfony\Component\Mailer\Transport\NativeTransportFactory
- name: NullTransportFactory
type: class
source: Symfony\Component\Mailer\Transport\NullTransportFactory
- name: RoundRobinTransport
type: class
source: Symfony\Component\Mailer\Transport\RoundRobinTransport
- name: SendmailTransportFactory
type: class
source: Symfony\Component\Mailer\Transport\SendmailTransportFactory
- name: EsmtpTransportFactory
type: class
source: Symfony\Component\Mailer\Transport\Smtp\EsmtpTransportFactory
- name: TransportFactoryInterface
type: class
source: Symfony\Component\Mailer\Transport\TransportFactoryInterface
- name: TransportInterface
type: class
source: Symfony\Component\Mailer\Transport\TransportInterface
- name: Transports
type: class
source: Symfony\Component\Mailer\Transport\Transports
- name: HttpClientInterface
type: class
source: Symfony\Contracts\HttpClient\HttpClientInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: factories
comment: "# * @author Fabien Potencier <fabien@symfony.com>\n# * @author Konstantin\
\ Myakshin <molodchick@gmail.com>\n# */\n# final class Transport\n# {\n# private\
\ const FACTORY_CLASSES = [\n# AzureTransportFactory::class,\n# BrevoTransportFactory::class,\n\
# GmailTransportFactory::class,\n# InfobipTransportFactory::class,\n# MailerSendTransportFactory::class,\n\
# MailgunTransportFactory::class,\n# MailjetTransportFactory::class,\n# MailomatTransportFactory::class,\n\
# MailPaceTransportFactory::class,\n# MandrillTransportFactory::class,\n# PostmarkTransportFactory::class,\n\
# ResendTransportFactory::class,\n# ScalewayTransportFactory::class,\n# SendgridTransportFactory::class,\n\
# SesTransportFactory::class,\n# ];\n# \n# public static function fromDsn(#[\\\
SensitiveParameter] string $dsn, ?EventDispatcherInterface $dispatcher = null,\
\ ?HttpClientInterface $client = null, ?LoggerInterface $logger = null): TransportInterface\n\
# {\n# $factory = new self(iterator_to_array(self::getDefaultFactories($dispatcher,\
\ $client, $logger)));\n# \n# return $factory->fromString($dsn);\n# }\n# \n# public\
\ static function fromDsns(#[\\SensitiveParameter] array $dsns, ?EventDispatcherInterface\
\ $dispatcher = null, ?HttpClientInterface $client = null, ?LoggerInterface $logger\
\ = null): TransportInterface\n# {\n# $factory = new self(iterator_to_array(self::getDefaultFactories($dispatcher,\
\ $client, $logger)));\n# \n# return $factory->fromStrings($dsns);\n# }\n# \n\
# /**\n# * @param TransportFactoryInterface[] $factories"
- name: fromStrings
visibility: public
parameters:
- name: dsns
comment: null
- name: fromString
visibility: public
parameters:
- name: dsn
comment: null
- name: parseDsn
visibility: private
parameters:
- name: dsn
- name: offset
default: '0'
comment: null
- name: fromDsnObject
visibility: public
parameters:
- name: dsn
comment: null
- name: getDefaultFactories
visibility: public
parameters:
- name: dispatcher
default: 'null'
- name: client
default: 'null'
- name: logger
default: 'null'
comment: '# * @return \Traversable<int, TransportFactoryInterface>'
traits:
- Psr\EventDispatcher\EventDispatcherInterface
- Psr\Log\LoggerInterface
- Symfony\Component\Mailer\Bridge\Amazon\Transport\SesTransportFactory
- Symfony\Component\Mailer\Bridge\Azure\Transport\AzureTransportFactory
- Symfony\Component\Mailer\Bridge\Brevo\Transport\BrevoTransportFactory
- Symfony\Component\Mailer\Bridge\Google\Transport\GmailTransportFactory
- Symfony\Component\Mailer\Bridge\Infobip\Transport\InfobipTransportFactory
- Symfony\Component\Mailer\Bridge\Mailchimp\Transport\MandrillTransportFactory
- Symfony\Component\Mailer\Bridge\MailerSend\Transport\MailerSendTransportFactory
- Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunTransportFactory
- Symfony\Component\Mailer\Bridge\Mailjet\Transport\MailjetTransportFactory
- Symfony\Component\Mailer\Bridge\Mailomat\Transport\MailomatTransportFactory
- Symfony\Component\Mailer\Bridge\MailPace\Transport\MailPaceTransportFactory
- Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkTransportFactory
- Symfony\Component\Mailer\Bridge\Resend\Transport\ResendTransportFactory
- Symfony\Component\Mailer\Bridge\Scaleway\Transport\ScalewayTransportFactory
- Symfony\Component\Mailer\Bridge\Sendgrid\Transport\SendgridTransportFactory
- Symfony\Component\Mailer\Exception\InvalidArgumentException
- Symfony\Component\Mailer\Exception\UnsupportedSchemeException
- Symfony\Component\Mailer\Transport\Dsn
- Symfony\Component\Mailer\Transport\FailoverTransport
- Symfony\Component\Mailer\Transport\NativeTransportFactory
- Symfony\Component\Mailer\Transport\NullTransportFactory
- Symfony\Component\Mailer\Transport\RoundRobinTransport
- Symfony\Component\Mailer\Transport\SendmailTransportFactory
- Symfony\Component\Mailer\Transport\Smtp\EsmtpTransportFactory
- Symfony\Component\Mailer\Transport\TransportFactoryInterface
- Symfony\Component\Mailer\Transport\TransportInterface
- Symfony\Component\Mailer\Transport\Transports
- Symfony\Contracts\HttpClient\HttpClientInterface
interfaces: []