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 25
User|null
getFromUser()
Get the user that sent the notification.
at
line 30
AbstractModel|null
getSubject()
Get the model that is the subject of this activity.
at
line 35
mixed
getData()
Get the data to be stored in the notification.
at
line 40
static string
getType()
Get the serialized type of this activity.
at
line 47
static string
getSubjectModel()
Get the name of the model class for the subject of this activity.