IAddress
in
Mail Address Interface
This interface is a base requirement of methods and functionality used to construct a mail address object
Tags
Table of Contents
Methods
- getAddress() : string
- gets the mail address
- getLabel() : string
- gets the mail address label/name
- setAddress() : self
- sets the mail address
- setLabel() : self
- sets the mail address label/name
Methods
getAddress()
gets the mail address
public
getAddress() : string
Tags
Return values
string —returns the mail address
getLabel()
gets the mail address label/name
public
getLabel() : string
Tags
Return values
string —returns the mail address label/name
setAddress()
sets the mail address
public
setAddress(string $value) : self
Parameters
- $value : string
-
mail address (test@example.com)
Tags
Return values
self —return this object for command chaining
setLabel()
sets the mail address label/name
public
setLabel(string $value) : self
Parameters
- $value : string
-
mail address label/name
Tags
Return values
self —return this object for command chaining