extends |
TextPart |
|---|
| Methods | ||
|---|---|---|
public
|
__construct(resource|string|File $body, string $filename = null, string $contentType = null, string $encoding = null)
|
# |
public
static
|
fromPath(string $path, string $name = null, string $contentType = null): self
|
# |
public
|
asInline(): $this
|
# |
public
|
setContentId(string $cid): $this
|
# |
public
|
getContentId(): string
|
# |
public
|
hasContentId(): bool
|
# |
public
|
getMediaType(): string
|
# |
public
|
getPreparedHeaders(): Headers
|
# |
public
|
asDebugString(): string
|
# |
public
|
getFilename(): ?string
|
# |
public
|
getContentType(): string
|
# |
private
|
generateContentId(): string
|
# |
public
|
__sleep(): array
|
# |
public
|
__wakeup()
|
# |
| Methods inherited from Symfony\Component\Mime\Part\TextPart |
|---|
getMediaSubtype(), setDisposition(), getDisposition(), setName(), getName(), getBody(), bodyToString(), bodyToIterable(), |
| Methods inherited from Symfony\Component\Mime\Part\AbstractPart |
|---|
getHeaders(), toString(), toIterable(), |
| Properties | |||
|---|---|---|---|
private
|
|
$filename
|
# |
private
|
|
$mediaType
|
# |
private
|
|
$cid
|
# |
| Properties inherited from Symfony\Component\Mime\Part\TextPart |
|---|
$encoders, $body, $charset, $subtype, $disposition, $name, $encoding, $seekable |
| Properties inherited from Symfony\Component\Mime\Part\AbstractPart |
|---|
$headers |