Closed nicoSWD closed 8 years ago
Small bonus issue:
On page 340 it says "behaviour" (British English) whereas the rest of the book is using the American English version, "behavior".
Hey Nico, thanks a lot for your contribution! 👏
I've included most of your suggestions.
The otherMethod
issue was actually correct because we were pointing out the otherMethod
call inside that one. However, you are right, it was a little bit confusing and we changed it in terms of clarity.
I've also included you under the acknowledgements. Thanks again :)
Hey @keyvanakbary,
just a quick heads up, you've added me twice to the acknowledgements section. :wink:
😂 Fixed, thanks!
3.4.6 Side-Effect-Free Behavior
otherMethod
, but in the code it's calledaMethod
. Not a really big issue, but a little inconsistent.3.6 Testing Value Objects
\PHPUnit_Test_TestCase-> \PHPUnit_Framework_TestCasemoneysShouldBeAdded-> moniesShouldBeAdded (Moneys is correct, but inconsistent with the rest of the book)3.7.1.1 Embedded Value with an Ad Hoc ORM
This reads a little weird:
I would perhaps rephrase it to something like:
More than one creation ocurrs
I think it reads a little nicer this way:
The creation of the aggregate
Or:
Or:
...
Or:
... ?
I know what you mean by "in this instance", but the last thing you mentioned before that is "giving Doctrine a try". So I first assume that's what you're referring to.
I would say something in the lines of:
3.7.1.2 Embedded Value (Embeddables) with Doctrine >= 2.5.
Aaaand that's all, folks! (For today)