phpDocumentor

EmailContact
in package
implements EmailContactInterface

Class EmailContact

Represents a contact (sender/recipient) that participates in an email entity.

Tags
category

System

subpackage

Entities

Interfaces, Classes and Traits

EmailContactInterface
Interface EmailContactInterface

Table of Contents

$contactName  : ContactNameInterface
E-Mail contact name.
$contactType  : ContactTypeInterface
E-Mail contact type.
$emailAddress  : EmailAddressInterface
E-Mail address.
__construct()  : mixed
Constructor
__toString()  : string
Return contact information as a string.
getContactName()  : string
Returns the contact name of an email.
getContactType()  : ContactTypeInterface
Returns the contact type of an email.
getEmailAddress()  : string
Returns an email address.
setContactName()  : mixed
Sets the contact name of an email.
setContactType()  : mixed
Sets the contact type of an email.
setEmailAddress()  : mixed
Sets an email address.

Properties

Methods

__toString()

Return contact information as a string.

public __toString() : string

Example Output: 'John Doe email@address.com'

Return values
string

Converted string.

getContactName()

Returns the contact name of an email.

public getContactName() : string
Return values
string

E-Mail contact name.

getEmailAddress()

Returns an email address.

public getEmailAddress() : string
Return values
string

E-Mail address.

Search results