Notifiables
INotifiable
interface displayName="INotifiable" {
/**
* The id representing this notifiable.
*/
public string function getNotifiableId();
/**
* The type name representing this notifiable.
*/
public string function getNotifiableType();
}component
name="User"
accessors="true"
implements="megaphone.models.Interfaces.INotifiable"
{
property name="id";
/**
* The id representing this notifiable.
*/
public string function getNotifiableId() {
return getId();
}
/**
* The type name representing this notifiable.
*/
public string function getNotifiableType() {
return "user";
}
}via
routeNotificationFor
Last updated
