Posted via @Jetbrains: what you think about this @php code?…
Commit
03c1b32
plz @nunomaduro explanation ?
it's not typed
To be fair, while the array structure isn’t enforced by PHP itself, it's partially typed through PHPDoc.
My bigger concern is that we're coupling the domain object to a specific message representation. I'd rather see that responsibility moved to a dedicated serializer.
commit 03c1b32