extends |
AbstractPart |
|---|
| Methods | ||
|---|---|---|
public
|
__construct(resource|string|File $body, ?string $charset = 'utf-8', string $subtype = 'plain', string $encoding = null)
|
# |
public
|
getMediaType(): string
|
# |
public
|
getMediaSubtype(): string
|
# |
public
|
setDisposition(string $disposition): $this
|
# |
public
|
getDisposition(): ?string
|
# |
public
|
setName(string $name): $this
|
# |
public
|
getName(): ?string
|
# |
public
|
getBody(): string
|
# |
public
|
bodyToString(): string
|
# |
public
|
bodyToIterable(): iterable
|
# |
public
|
getPreparedHeaders(): Headers
|
# |
public
|
asDebugString(): string
|
# |
private
|
getEncoder(): ContentEncoderInterface
|
# |
private
|
chooseEncoding(): string
|
# |
public
|
__sleep(): array
|
# |
public
|
__wakeup()
|
# |
| Methods inherited from Symfony\Component\Mime\Part\AbstractPart |
|---|
getHeaders(), toString(), toIterable(), |
| Properties | |||
|---|---|---|---|
private
static
|
|
$encoders = []
|
# |
private
|
|
$body
|
# |
private
|
|
$charset
|
# |
private
|
|
$subtype
|
# |
private
|
?string
|
$disposition
|
# |
private
|
|
$name
|
# |
private
|
|
$encoding
|
# |
private
|
|
$seekable
|
# |
| Properties inherited from Symfony\Component\Mime\Part\AbstractPart |
|---|
$headers |