EmailContent
in package
implements
EmailContentInterface
Class EmailContent
Email content could be either plain text or HTML.
Tags
Interfaces, Classes and Traits
- EmailContentInterface
- Interface EmailContentInterface
Table of Contents
- $content : string
- E-Mail content.
- __construct() : mixed
- Constructor
- __toString() : string
- Returns the email content value.
Properties
$content
E-Mail content.
protected
string
$content
Methods
__construct()
Constructor
public
__construct(string $p_content) : mixed
Executes the validation checks upon the email content.
Parameters
- $p_content : string
-
Could be either plain text or HTML.
Tags
Return values
mixed —__toString()
Returns the email content value.
public
__toString() : string
Return values
string —Equivalent string.