scitotec / passage-of-time
Convenient event classes for Mathias Verraes Passage of Time Event concept.
Installs: 414
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/scitotec/passage-of-time
Requires
- php: >=8.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- phpunit/phpunit: ^9.5
This package is not auto-updated.
Last update: 2025-10-12 02:00:16 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