All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- To strict param type in
transform
method
- Another issue where CallbackBinding wasn't handled.
- Still handle CallbackBinding when property name doesn't match a JSON fieldname.
- support for magic class properties
- auto casing for json field - class properties mapping
- PHP CS Fixer for linting and fixing code style
- unit tests to phpunit
- support for PHP 7.2
DateTimeBinding
for parsing date string
- Update dependencies to be compatible with PHP 7.4
- Switch to PSR-12 linting
- Support for PHP 7.0 and 7.1
validate
function for checking theisRequired
flag for Bindings
- transform
Binding
to an abstract class and unify functionality fromAliasBinding
,ArrayBinding
&FieldBinding
- check for
isRequired
flag is only executed when applicable
JsonDecoder
instance as second parameter to callback function signature for CallbackBindings