EmailSubject
in package
implements
EmailSubjectInterface
Class EmailSubject
Subject assigned to an email.
Tags
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
$subject
Email subject.
protected
string
$subject
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
Return values
mixed —__toString()
Returns the email subject value.
public
__toString() : string
Return values
string —Equivalent string.