76 lines
1.9 KiB
YAML
76 lines
1.9 KiB
YAML
name: IdentificationHeader
|
|
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: "# * An ID MIME Header for something like Message-ID or Content-ID (one\
|
|
\ or more addresses).\n# *\n# * @author Chris Corbyn\n# */\n# final class IdentificationHeader\
|
|
\ extends AbstractHeader\n# {\n# private array $ids = [];\n# private array $idsAsAddresses\
|
|
\ = [];\n# \n# public function __construct(string $name, string|array $ids)\n\
|
|
# {\n# parent::__construct($name);\n# \n# $this->setId($ids);\n# }\n# \n# /**\n\
|
|
# * @param string|string[] $body a string ID or an array of IDs\n# *\n# * @throws\
|
|
\ RfcComplianceException"
|
|
- name: getBody
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: setId
|
|
visibility: public
|
|
parameters:
|
|
- name: id
|
|
comment: '# * Set the ID used in the value of this header.
|
|
|
|
# *
|
|
|
|
# * @param string|string[] $id
|
|
|
|
# *
|
|
|
|
# * @throws RfcComplianceException'
|
|
- name: getId
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Get the ID used in the value of this Header.
|
|
|
|
# *
|
|
|
|
# * If multiple IDs are set only the first is returned.'
|
|
- name: setIds
|
|
visibility: public
|
|
parameters:
|
|
- name: ids
|
|
comment: '# * Set a collection of IDs to use in the value of this Header.
|
|
|
|
# *
|
|
|
|
# * @param string[] $ids
|
|
|
|
# *
|
|
|
|
# * @throws RfcComplianceException'
|
|
- name: getIds
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Get the list of IDs used in this Header.
|
|
|
|
# *
|
|
|
|
# * @return string[]'
|
|
- name: getBodyAsString
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Mime\Address
|
|
- Symfony\Component\Mime\Exception\RfcComplianceException
|
|
interfaces: []
|