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

57 lines
1.6 KiB
YAML

name: Envelope
class_comment: '# * @author Fabien Potencier <fabien@symfony.com>'
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Mailer\Exception\InvalidArgumentException
- name: LogicException
type: class
source: Symfony\Component\Mailer\Exception\LogicException
- name: Address
type: class
source: Symfony\Component\Mime\Address
- name: RawMessage
type: class
source: Symfony\Component\Mime\RawMessage
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: sender
- name: recipients
comment: "# * @author Fabien Potencier <fabien@symfony.com>\n# */\n# class Envelope\n\
# {\n# private Address $sender;\n# private array $recipients = [];\n# \n# /**\n\
# * @param Address[] $recipients"
- name: create
visibility: public
parameters:
- name: message
comment: null
- name: setSender
visibility: public
parameters:
- name: sender
comment: null
- name: getSender
visibility: public
parameters: []
comment: '# * @return Address Returns a "mailbox" as specified by RFC 2822
# * Must be converted to an "addr-spec" when used as a "MAIL FROM"
value in SMTP (use getAddress())'
- name: setRecipients
visibility: public
parameters:
- name: recipients
comment: '# * @param Address[] $recipients'
- name: getRecipients
visibility: public
parameters: []
comment: '# * @return Address[]'
traits:
- Symfony\Component\Mailer\Exception\InvalidArgumentException
- Symfony\Component\Mailer\Exception\LogicException
- Symfony\Component\Mime\Address
- Symfony\Component\Mime\RawMessage
interfaces: []