litecqrs-php icon indicating copy to clipboard operation
litecqrs-php copied to clipboard

Question on access

Open mhightower opened this issue 10 years ago • 0 comments

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

mhightower avatar Dec 11 '14 17:12 mhightower