Skip to content

Releases: PhpGt/DataObject

All simple DTO features

18 Jan 14:51
Compare
Choose a tag to compare
Pre-release

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

17 Jan 16:48
Compare
Choose a tag to compare
DataObject getters Pre-release
Pre-release

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.