phpDocumentor

EmailContent
in package
implements EmailContentInterface

Class EmailContent

Email content could be either plain text or HTML.

Tags
category

System

subpackage

ValueObjects

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

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
throws
InvalidArgumentException

On invalid argument.

Return values
mixed

__toString()

Returns the email content value.

public __toString() : string
Return values
string

Equivalent string.

Search results