EmailSubject

Implements \EmailSubjectInterface

Class EmailSubject

Subject assigned to an email.

category

System

package

Email

subpackage

ValueObjects

Methods

Constructor

__construct(string $p_subject) 

Executes the validation checks of the email subject.

Throws
\InvalidArgumentException

If the provided argument is not valid.

Arguments

$p_subject

string

E-Mail subject.

Returns the email subject value.

__toString() : string

Response

string

Equivalent string.

Constants

Defines the maximum db field length.

MAX_LENGTH
var

Properties

Email subject.

subject : string
var

Type(s)

string