api/symfony/Component/Mime/Header/MailboxHeader.yaml

56 lines
1.5 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: MailboxHeader
class_comment: null
dependencies:
- name: Address
type: class
source: Symfony\Component\Mime\Address
- name: RfcComplianceException
type: class
source: Symfony\Component\Mime\Exception\RfcComplianceException
properties: []
methods:
- name: setBody
visibility: public
parameters:
- name: body
comment: "# * A Mailbox MIME Header for something like Sender (one named address).\n\
# *\n# * @author Fabien Potencier <fabien@symfony.com>\n# */\n# final class MailboxHeader\
\ extends AbstractHeader\n# {\n# private Address $address;\n# \n# public function\
\ __construct(string $name, Address $address)\n# {\n# parent::__construct($name);\n\
# \n# $this->setAddress($address);\n# }\n# \n# /**\n# * @param Address $body\n\
# *\n# * @throws RfcComplianceException"
- name: getBody
visibility: public
parameters: []
comment: '# * @throws RfcComplianceException'
- name: setAddress
visibility: public
parameters:
- name: address
comment: '# * @throws RfcComplianceException'
- name: getAddress
visibility: public
parameters: []
comment: null
- name: getBodyAsString
visibility: public
parameters: []
comment: null
- name: tokenNeedsEncoding
visibility: protected
parameters:
- name: token
comment: '# * Redefine the encoding requirements for an address.
# *
# * All "specials" must be encoded as the full header value will not be quoted
# *
# * @see RFC 2822 3.2.1'
traits:
- Symfony\Component\Mime\Address
- Symfony\Component\Mime\Exception\RfcComplianceException
interfaces: []