package Default

 Methods

Constructor

__construct(string $email, null|string $name = null) : \Zend\Mail\Address

Parameters

$email

string

$name

nullstring

Exceptions

\Zend\Mail\Exception\InvalidArgumentException

Returns

\Zend\Mail\Address

Retrieve email

getEmail() : string
inherited_from \Zend\Mail\Address\AddressInterface::getEmail()

Returns

string

Retrieve name

getName() : string
inherited_from \Zend\Mail\Address\AddressInterface::getName()

Returns

string

String representation of address

toString() : string
inherited_from \Zend\Mail\Address\AddressInterface::toString()

Returns

string

 Properties

 

$email

$email 

Default

 

$name

$name 

Default