PHP Interface Namshi\Notificator\NotificationInterface

Show file Open project: namshi/notificator Interface Usage Examples

Public Methods

Method 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 method

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

getParameters() public method

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