ContactType

Implements \ContactTypeInterface

Class ContactType

category

System

package

Email

subpackage

ValueObjects

Methods

Class Constructor

__construct(string $p_type) 
Throws
\InvalidArgumentException

On empty or invalid argument.

Arguments

$p_type

string

Value has to be one of the declared constants, e.g. self::SENDER which value is 'sender'.

Returns the contact type as a string.

__toString() : string

Response

string

Equivalent string.

Constants

Type Constants

SENDER

RECIPIENT

RECIPIENT

REPLY_TO

REPLY_TO

BCC

BCC

CC

CC

Properties

Contact type.

type : string
var

Type(s)

string