Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
Address Class Reference

Public Member Functions

 __construct ($email, $name=null)
 Constructor.
 
 getEmail ()
 Retrieve email.
 
 getName ()
 Retrieve name.
 
 toString ()
 String representation of address.
 

Protected Attributes

 $email
 
 $name
 

Constructor & Destructor Documentation

__construct (   $email,
  $name = null 
)

Constructor.

Parameters
string$email
null | string$name
Exceptions
Exception\InvalidArgumentException
Returns
Address

Member Function Documentation

getEmail ( )

Retrieve email.

Returns
string

Implements AddressInterface.

getName ( )

Retrieve name.

Returns
string

Implements AddressInterface.

toString ( )

String representation of address.

Returns
string

Implements AddressInterface.

Member Data Documentation

$email
protected
$name
protected