Releases: phpgt/DataObject
Releases · phpgt/DataObject
JsonData objects
An extension to the DataObject, the JsonData object can represent the datatypes of a standard Json response, which includes arrays and primitives.
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.