Skip to content

Reference

tilttek/celebrations

Every public type of the package, with its role.

TypeRole
CelebrationsReceives, withdraws, groups, counts, celebrates, marks seen, reads and erases the members' inboxes
AchievementWhat a member earned: source, kind, subject, occurrence, moment, parameters, moment to stop being shown
EntryAn achievement in an inbox: sequence, state, received and settled moments
EntryStatePending, Seen, Withdrawn or Lapsed
GroupThe pending entries of one source and one kind: the first shown, the count
CelebrationWhat the window shows next: a group, the motion, the sound, the groups remaining
PreferencesWhether a window celebrates, its motion and its sound, for a member
MotionFull, Reduced or None
LimitsPending entries and entries per member, entries shown per group, the history page
CelebrationChangedTold after each act, identifiers only
ChangeWhat happened in an inbox
Contract\CelebrationStoreWhere inboxes and preferences are kept
Contract\CelebrationObserverWhat the application does with the events
Store\InMemoryCelebrationStoreThe store in memory
Exception\CelebrationExceptionEvery exception of the library
Exception\InvalidCelebrationA value out of bounds