Extension points
tilttek/progression| Point | What an application gives | Where |
|---|---|---|
Store\ExperienceStore, Store\MilestoneStore, Store\StreakStore | The storage of experience, milestones and streaks, in place of the stores in memory | Writing a store |
Season\SeasonSchedule | Seasons of its own, beside CalendarSeasons and NamedSeasons | Seasons |
Streak\TimezoneResolver | The timezone a member's day is read in | Streaks |
ProgressionObserver | What is done when a level changes, a milestone is reached or a streak breaks | The projection |
Psr\Clock\ClockInterface | The clock the services read: the system's in production, a fixed one in tests | Testing |
Every point is passed to the constructor of the service that uses it; the services keep no state of their own between two calls.