Interface that describes a notification

interface NotificationInterface

Methods summary

Return Type Method Name Description
string getTitle() -
NotificationInterface setTitle(string $title) -
string getMessage() -
NotificationInterface setMessage(string $message) -
string getUrl() -
NotificationInterface setUrl(string $url) -
NotificationAttributeInterface[] getAttributes() -
NotificationInterface setAttributes(NotificationAttributeInterface[] $attributes) -
NotificationInterface addAttribute(NotificationAttributeInterface $attribute) -

Details

string getTitle ()

Return Value

string

NotificationInterface setTitle (string $title)

Parameters

string $title

Return Value

NotificationInterface

string getMessage ()

Return Value

string

NotificationInterface setMessage (string $message)

Parameters

string $message

Return Value

NotificationInterface

string getUrl ()

Return Value

string

NotificationInterface setUrl (string $url)

Parameters

string $url

Return Value

NotificationInterface

NotificationInterface setAttributes (NotificationAttributeInterface[] $attributes)

Parameters

NotificationAttributeInterface[] $attributes

Return Value

NotificationInterface