Méthode | Description | |
---|---|---|
__construct ( string $name, Egulias\EmailValidator\EmailValidator $emailValidator ) | Creates a new PathHeader with the given $name. | |
getAddress ( ) : string | Get the address which is used in this Header (if any). | |
getFieldBody ( ) : string | Get the string value of the body in this Header. | |
getFieldBodyModel ( ) : mixed | Get the model for the field body. | |
getFieldType ( ) : integer | Get the type of Header that this instance represents. | |
setAddress ( string $address ) | Set the Address which should appear in this Header. | |
setFieldBodyModel ( string $model ) | Set the model for the field body. |
Méthode | Description | |
---|---|---|
assertValidAddress ( string $address ) | Throws an Exception if the address passed does not comply with RFC 2822. |
public __construct ( string $name, Egulias\EmailValidator\EmailValidator $emailValidator ) | ||
$name | string | |
$emailValidator | Egulias\EmailValidator\EmailValidator |
public getAddress ( ) : string | ||
Résultat | string |
public getFieldBody ( ) : string | ||
Résultat | string |
public getFieldBodyModel ( ) : mixed | ||
Résultat | mixed |
public getFieldType ( ) : integer | ||
Résultat | integer |
public setAddress ( string $address ) | ||
$address | string |
public setFieldBodyModel ( string $model ) | ||
$model | string |