interface BlueprintInterface
A notification BlueprintInterface, when instantiated, represents a notification about something. The blueprint is used by the NotificationSyncer to commit the notification to the database.
Methods
Details
at
line 33
AbstractModel|null
getSubject()
Get the model that is the subject of this activity.
at
line 40
array|null
getData()
Get the data to be stored in the notification.
at
line 47
static string
getType()
Get the serialized type of this activity.
at
line 54
static string
getSubjectModel()
Get the name of the model class for the subject of this activity.