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 27
User|null
getFromUser()
Get the user that sent the notification.
at
line 34
AbstractModel|null
getSubject()
Get the model that is the subject of this activity.
at
line 41
array|null
getData()
Get the data to be stored in the notification.
at
line 48
static string
getType()
Get the serialized type of this activity.
at
line 55
static string
getSubjectModel()
Get the name of the model class for the subject of this activity.