platform/api/symfony/Component/Mime/DraftEmail.yaml

25 lines
961 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: DraftEmail
class_comment: '# * @author Kevin Bond <kevinbond@gmail.com>'
dependencies:
- name: Headers
type: class
source: Symfony\Component\Mime\Header\Headers
- name: AbstractPart
type: class
source: Symfony\Component\Mime\Part\AbstractPart
properties: []
methods:
- name: getPreparedHeaders
visibility: public
parameters: []
comment: "# * @author Kevin Bond <kevinbond@gmail.com>\n# */\n# class DraftEmail\
\ extends Email\n# {\n# public function __construct(?Headers $headers = null,\
\ ?AbstractPart $body = null)\n# {\n# parent::__construct($headers, $body);\n\
# \n# $this->getHeaders()->addTextHeader('X-Unsent', '1');\n# }\n# \n# /**\n#\
\ * Override default behavior as draft emails do not require From/Sender/Date/Message-ID\
\ headers.\n# * These are added by the client that actually sends the email."
traits:
- Symfony\Component\Mime\Header\Headers
- Symfony\Component\Mime\Part\AbstractPart
interfaces: []