beberlei / litecqrs-php

Small convention based CQRS library for PHP
MIT License
553 stars 47 forks source link

Question on access #52

Open mhightower opened 9 years ago

mhightower commented 9 years ago

Why does setAggregateId() in the DomainEvent public. Shouldn't it be protected or even private access level. To keep the Event immutable.