phpDocumentor

ContactType
in package
implements ContactTypeInterface

Class ContactType

Tags
category

System

subpackage

ValueObjects

Interfaces, Classes and Traits

ContactTypeInterface
Interface ContactTypeInterface

Table of Contents

BCC  = 'bcc'
CC  = 'cc'
RECIPIENT  = 'recipient'
REPLY_TO  = 'reply_to'
SENDER  = 'sender'
Type Constants
$type  : string
Contact type.
__construct()  : mixed
Class Constructor
__toString()  : string
Returns the contact type as a string.

Constants

Properties

Methods

__construct()

Class Constructor

public __construct(string $p_type) : mixed
Parameters
$p_type : string

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

Tags
throws
InvalidArgumentException

On empty or invalid argument.

Return values
mixed

__toString()

Returns the contact type as a string.

public __toString() : string
Return values
string

Equivalent string.

Search results