Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 511 Bytes

File metadata and controls

12 lines (8 loc) · 511 Bytes

Standalone recording of a temperature

Target: familiarizing with the concept of DomainEvents and their persistence.

Edit and run record-temperature.php.

  1. create a new TemperatureRecorded DomainEvent in src/TemperatureTracking/Domain
  2. add it to the event stream (tip: use the given $kernel)
  3. observe the final database state and discuss

Question: what was saved in the DB?