scitotec / passage-of-time
Convenient event classes for Mathias Verraes Passage of Time Event concept.
v0.0.1
2023-01-20 13:22 UTC
Requires
- php: >=8.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- phpunit/phpunit: ^9.5
This package is not auto-updated.
Last update: 2024-06-08 19:18:06 UTC
README
Passage of Time is an implementation of the Passage of Time Event idea, originally presented by Mathias Verraes.
It defines the following events to attach business logic to:
MinuteHasPassed
- signals the end of a minuteHourHasPassed
- signals the end of an hourDayHasPassed
- signals the end of a dayWeekHasPassed
- signals the end of a weekMonthHasPassed
- signals the end of a monthQuarterHasPassed
- signals the end of a quarterYearHasPassed
- signals the end of a year