| Fully Qualified Name: | Zend\Mail\Address | 
| Implements: | AddressInterface | 
| Name | Description | Defined By | 
|---|---|---|
| __construct() | Constructor | Address | 
| fromString() | Create an instance from a string value. | Address | 
| getComment() | Retrieve comment, if any | Address | 
| getEmail() | Retrieve email | Address | 
| getName() | Retrieve name | Address | 
| toString() | String representation of address | Address | 
Constructor
| Parameter Name | Type | Description | 
|---|---|---|
| string | ||
| $name | null|string | |
| $comment | null|string | 
Returns:
Create an instance from a string value.
Parses a string representing a single address. If it is a valid format, it then creates and returns an instance of itself using the name and email it has parsed from the value.
| Parameter Name | Type | Description | 
|---|---|---|
| $address | string | |
| $comment | null|string | Comment | 
Returns: self
Retrieve comment, if any
Returns: null|string
Retrieve email
Returns: string
Retrieve name
Returns: string
String representation of address
Returns: string