Releases: dereuromark/cakephp-dto
Releases · dereuromark/cakephp-dto
0.2.1
Bugfixes
- Disallow set() and property write access for immutable DTOs.
- Provide with() for immutable DTOs.
0.2.0
Improvements
- Removed ArrayAccess
- Instead added property access and get(), set(), has() convenience methods
0.1.3
Improvements
Allow fromArray() to auto-add keys for associative arrays if that "key" exists in the incoming data.
Bugfixes
Fix toArray()/fromArray() for array collections.
0.1.2
Improvements
Added namespaced DTOs.
This way you can have multiple of the same name, as long as they are under different subfolders and not used together or aliased.
Bugfixes
Fix mixed type for fields.
0.1.1
Improvements
Default values auto-require the field now (not nullable) unless specified differently.
0.1
Initial Release
You can try out this package now as stable one.
Please give some feedback or provide ideas for improvement, either as issue or PR.