platform/api/symfony/Component/Mime/Part/DataPart.yaml

89 lines
2.1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: DataPart
class_comment: '# * @author Fabien Potencier <fabien@symfony.com>'
dependencies:
- name: InvalidArgumentException
type: class
source: Symfony\Component\Mime\Exception\InvalidArgumentException
- name: Headers
type: class
source: Symfony\Component\Mime\Header\Headers
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: body
- name: filename
default: 'null'
- name: contentType
default: 'null'
- name: encoding
default: 'null'
comment: "# * @author Fabien Potencier <fabien@symfony.com>\n# */\n# class DataPart\
\ extends TextPart\n# {\n# /** @internal */\n# protected array $_parent;\n# \n\
# private ?string $filename = null;\n# private string $mediaType;\n# private ?string\
\ $cid = null;\n# \n# /**\n# * @param resource|string|File $body Use a File instance\
\ to defer loading the file until rendering"
- name: fromPath
visibility: public
parameters:
- name: path
- name: name
default: 'null'
- name: contentType
default: 'null'
comment: null
- name: asInline
visibility: public
parameters: []
comment: '# * @return $this'
- name: setContentId
visibility: public
parameters:
- name: cid
comment: '# * @return $this'
- name: getContentId
visibility: public
parameters: []
comment: null
- name: hasContentId
visibility: public
parameters: []
comment: null
- name: getMediaType
visibility: public
parameters: []
comment: null
- name: getPreparedHeaders
visibility: public
parameters: []
comment: null
- name: asDebugString
visibility: public
parameters: []
comment: null
- name: getFilename
visibility: public
parameters: []
comment: null
- name: getContentType
visibility: public
parameters: []
comment: null
- name: generateContentId
visibility: private
parameters: []
comment: null
- name: __sleep
visibility: public
parameters: []
comment: null
- name: __wakeup
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Mime\Exception\InvalidArgumentException
- Symfony\Component\Mime\Header\Headers
interfaces: []