PHP Class Jyxo\Mail\Email\Address

Author: Jaroslav HanslĂ­k
Inheritance: extends Jyxo\Spl\Object
Datei anzeigen Open project: jyxo/php

Public Methods

Method Description
__construct ( string $email, string $name = '' ) Creates an address.
getEmail ( ) : string Returns email address.
getName ( ) : string Returns name.
setEmail ( string $email ) : self Sets email address.
setName ( string $name ) : self Sets name.

Method Details

__construct() public method

Creates an address.
public __construct ( string $email, string $name = '' )
$email string Email
$name string Name

getEmail() public method

Returns email address.
public getEmail ( ) : string
return string

getName() public method

Returns name.
public getName ( ) : string
return string

setEmail() public method

Sets email address.
public setEmail ( string $email ) : self
$email string Email address
return self

setName() public method

Sets name.
public setName ( string $name ) : self
$name string Name
return self