Releases: PhpGt/DataObject
Releases · PhpGt/DataObject
All simple DTO features
This pre-release completes the features of a simple DTO class to the original specification. v1 is being held back while a JSON-compatible design is completed.
DataObject getters
The following getters have been tested and implemented:
- getInt
- getString
- getBool
- getFloat
- getDateTime
A DataObject can also be converted to a nested array or object using the asArray
and asObject
methods.