Skip to content
loading...

re: Don't return associative arrays! VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I totally agree with the concept, but I wouldn't say SenderReport is a value object, but a DTO. Value objects represent one value (a date, a curren...
 

I've used DTO mainly in the context of dealing with databases or REST API's. But your reasoning is very solid, and i agree. I think it's not important what the service does, but what kind of relationship client code has to the server.

code of conduct - report abuse