Closed judgej closed 8 years ago
Practically, a response message will always be populated from an [nested] array of data, so it makes sense to use that data in the constructor. The fromData()
methods still exist for some models and the error collections, as a convenience.
All done now, and fromData()
is deprecated across all the response messages.
The constructors for some of the response messages are ridiculously long lists of parameters. Let's take them all out and merge the
fromData()
method into the constructor. So ALL received messages are instantiated from an array of data.