Méthode | Description | |
---|---|---|
__construct ( string $name, Egulias\EmailValidator\EmailValidator $emailValidator ) | Creates a new IdentificationHeader with the given $name and $id. | |
getFieldBody ( ) : string | Get the string value of the body in this Header. | |
getFieldBodyModel ( ) : array | Get the model for the field body. | |
getFieldType ( ) : integer | Get the type of Header that this instance represents. | |
getId ( ) : string | Get the ID used in the value of this Header. | |
getIds ( ) : string[] | Get the list of IDs used in this Header. | |
setFieldBodyModel ( mixed $model ) | Set the model for the field body. | |
setId ( string | array $id ) | Set the ID used in the value of this header. | |
setIds ( array $ids ) | Set a collection of IDs to use in the value of this Header. |
Méthode | Description | |
---|---|---|
assertValidId ( string $id ) | Throws an Exception if the id passed does not comply with RFC 2822. |
public __construct ( string $name, Egulias\EmailValidator\EmailValidator $emailValidator ) | ||
$name | string | |
$emailValidator | Egulias\EmailValidator\EmailValidator |
public getFieldBody ( ) : string | ||
Résultat | string |
public getFieldBodyModel ( ) : array | ||
Résultat | array |
public getFieldType ( ) : integer | ||
Résultat | integer |
public getIds ( ) : string[] | ||
Résultat | string[] |
public setFieldBodyModel ( mixed $model ) | ||
$model | mixed |