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

24 lines
961 B
YAML

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: []