PHP Class Swift_Mime_IdGenerator

Inheritance: implements Swift_IdGenerator
Show file Open project: swiftmailer/swiftmailer Class Usage Examples

Public Methods

Method Description
__construct ( string $idRight )
generateId ( ) : string
getIdRight ( ) : string Returns the right-hand side of the "@" used in all generated IDs.
setIdRight ( string $idRight ) Sets the right-hand side of the "@" to use in all generated IDs.

Method Details

__construct() public method

public __construct ( string $idRight )
$idRight string

generateId() public method

public generateId ( ) : string
return string

getIdRight() public method

Returns the right-hand side of the "@" used in all generated IDs.
public getIdRight ( ) : string
return string

setIdRight() public method

Sets the right-hand side of the "@" to use in all generated IDs.
public setIdRight ( string $idRight )
$idRight string