Holds a single address or name/address pair.
The name part of the address may be mime-encoded, but the email address part can't be mime-encoded. Any whitespace in the email address part is stripped out.
A convenience method, getEmail, is provided for clarity -- but getValue returns the email address as well.
- author Zaahid Bateson
CloneableInstantiable
Methods |
public getEmail() : string Returns the email address.
|
Properties |
Methods |
protected getValueFromParts(array $parts) : string |
protected validate() : void |