PartContentTrait
Adds getContent()/setContent() convenience accessors on top of Pop\Mime\Part, which has no direct equivalents.
Tags
Table of Contents
Methods
- getContent() : string|null
- Get content
- renderAsLines() : array<string|int, mixed>
- Render as an array of lines
- setContent() : static
- Set content
Methods
getContent()
Get content
public
getContent() : string|null
Return values
string|nullrenderAsLines()
Render as an array of lines
public
renderAsLines() : array<string|int, mixed>
Return values
array<string|int, mixed>setContent()
Set content
public
setContent(string $content) : static
Parameters
- $content : string