EmailContent

Implements \EmailContentInterface

Class EmailContent

Email content could be either plain text or HTML.

category

System

package

Email

subpackage

ValueObjects

Methods

Constructor

__construct(string $p_content) 

Executes the validation checks upon the email content.

Throws
\InvalidArgumentException

On invalid argument.

Arguments

$p_content

string

Could be either plain text or HTML.

Returns the email content value.

__toString() : string

Response

string

Equivalent string.

Properties

E-Mail content.

content : string
var

Email Content

Type(s)

string