Target: familiarizing with the concept of DomainEvent
s and their persistence.
Edit and run record-temperature.php.
- create a new
TemperatureRecorded
DomainEvent
in src/TemperatureTracking/Domain - add it to the event stream (tip: use the given
$kernel
) - observe the final database state and discuss
Question: what was saved in the DB?