phpDocumentor

EmailSubject
in package
implements EmailSubjectInterface

Class EmailSubject

Subject assigned to an email.

Tags
category

System

subpackage

ValueObjects

Interfaces, Classes and Traits

EmailSubjectInterface
Interface EmailSubjectInterface

Table of Contents

MAX_LENGTH  = 256
Defines the maximum db field length.
$subject  : string
Email subject.
__construct()  : mixed
Constructor
__toString()  : string
Returns the email subject value.

Constants

MAX_LENGTH

Defines the maximum db field length.

public int MAX_LENGTH = 256

Properties

Methods

__construct()

Constructor

public __construct(string $p_subject) : mixed

Executes the validation checks of the email subject.

Parameters
$p_subject : string

E-Mail subject.

Tags
throws
InvalidArgumentException

If the provided argument is not valid.

Return values
mixed

__toString()

Returns the email subject value.

public __toString() : string
Return values
string

Equivalent string.

Search results