CharsetAwareTrait
Restores AbstractMessage's charset/content-type field concept on top of Pop\Mime\Part, which only models Content-Type as a header.
Tags
Table of Contents
Properties
- $charSet : string|null
- Character set
Methods
- getCharSet() : string|null
- Get character set
- setCharSet() : static
- Set character set
- setContentType() : static
- Set Content-Type header
Properties
$charSet
Character set
protected
string|null
$charSet
= null
Methods
getCharSet()
Get character set
public
getCharSet() : string|null
Return values
string|nullsetCharSet()
Set character set
public
setCharSet([string|null $charSet = null ]) : static
Parameters
- $charSet : string|null = null
Return values
staticsetContentType()
Set Content-Type header
public
setContentType(string $contentType) : static
Parameters
- $contentType : string