Releases: dsantang/domain-events-doctrine
Releases · dsantang/domain-events-doctrine
v0.2.2
v0.2.0
v0.1.0
New features:
- Enables staging and releasing
Domain Events
via anEventsTracker
. - Enables automatically dispatching
Domain Events
via the collaboration of two Doctrine's lifecycle hooks:- The first hook, which listen to the
onFlush
Doctrine's event, is responsible for staging the events that have happened during the transaction using anAggregator
. - The second hook, which listen to the
postFlush
Doctrine's event, is responsible for dispatching those events so that they can be handled. This hooks kicks in only on in the case where the transaction is successful.
- The first hook, which listen to the