platform/api/symfony/Component/Mailer/Transport/RoundRobinTransport.yaml

77 lines
2.1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: RoundRobinTransport
class_comment: '# * Uses several Transports using a round robin algorithm.
# *
# * @author Fabien Potencier <fabien@symfony.com>'
dependencies:
- name: Envelope
type: class
source: Symfony\Component\Mailer\Envelope
- name: TransportException
type: class
source: Symfony\Component\Mailer\Exception\TransportException
- name: TransportExceptionInterface
type: class
source: Symfony\Component\Mailer\Exception\TransportExceptionInterface
- name: SentMessage
type: class
source: Symfony\Component\Mailer\SentMessage
- name: RawMessage
type: class
source: Symfony\Component\Mime\RawMessage
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: transports
- name: retryPeriod
default: '60'
comment: "# * Uses several Transports using a round robin algorithm.\n# *\n# * @author\
\ Fabien Potencier <fabien@symfony.com>\n# */\n# class RoundRobinTransport implements\
\ TransportInterface\n# {\n# /**\n# * @var \\SplObjectStorage<TransportInterface,\
\ float>\n# */\n# private \\SplObjectStorage $deadTransports;\n# private int $cursor\
\ = -1;\n# \n# /**\n# * @param TransportInterface[] $transports"
- name: send
visibility: public
parameters:
- name: message
- name: envelope
default: 'null'
comment: null
- name: __toString
visibility: public
parameters: []
comment: null
- name: getNextTransport
visibility: protected
parameters: []
comment: '# * Rotates the transport list around and returns the first instance.'
- name: isTransportDead
visibility: protected
parameters:
- name: transport
comment: null
- name: getInitialCursor
visibility: protected
parameters: []
comment: null
- name: getNameSymbol
visibility: protected
parameters: []
comment: null
- name: moveCursor
visibility: private
parameters:
- name: cursor
comment: null
traits:
- Symfony\Component\Mailer\Envelope
- Symfony\Component\Mailer\Exception\TransportException
- Symfony\Component\Mailer\Exception\TransportExceptionInterface
- Symfony\Component\Mailer\SentMessage
- Symfony\Component\Mime\RawMessage
interfaces:
- TransportInterface