PHP Interface Namshi\Notificator\NotificationInterface

Afficher le fichier Open project: namshi/notificator Interface Usage Examples

Méthodes publiques

Méthode Description
getMessage ( ) : string Returns a string representation of the message transported with this notification.
getParameters ( ) : array Returns an array of parameters that are sent along with this notification.

Method Details

getMessage() public méthode

Returns a string representation of the message transported with this notification.
public getMessage ( ) : string
Résultat string

getParameters() public méthode

They are usually used by handlers to build the actual notification (ie. dynamic content in emails or smses).
public getParameters ( ) : array
Résultat array