- Added tests for
DtoResolverTrait,CollectionDtoResolverTrait,DtoArrayAccessTrait.
- Support type hinted property fix.
- Support PHP ~8.0.
- Added Symfony 5 support
- Change annotation property type of
DtoResolverTrait::definedPropertiesand annotation return typeDtoResolverTrait::getDefinedProperties().
- Fixed properties selection with not empty option resolver in
DtoResolverTrait.
- Added trait
DtoArrayAccessTraitfor implement ArrayAccess interface - Added to interface
DtoResolverInterfacefunctiongetDefinedProperties.
- Changed
DtoResolverTraitadded implementationDtoResolverInterface. - Changed
CollectionDtoResolverInterfaceoptimization code.
- Added possibility to build collection by specific collection item field.
- Added
CollectionDtoResolverTrait::__construct()with optionalOptionsResolver. - Added
DtoResolverTrait::__construct()with requiredarray $dataand optionalOptionsResolver. - Added static method
CollectionDtoResolverInterface::getItemDtoClassName.
- Removed
CollectionDtoResolverInterface::injectResolver. - Removed
CollectionDtoResolverInterface::getEntryDtoClassName. - Removed
DtoResolverInterface::injectResolverandDtoResolverInterface::resolve. - Removed
DtoResolverFactory.
- Added
jsonSerializemethod inCollectionDtoResolverTrait. CollectionDtoResolverInterfaceimplementsJsonSerializablenow.
- Removed
createDtomethod inDtoResolverFactory.
- Added
.phpstorm.meta.php. - Added
DtoResolverFactory::create().
- Added
injectResolvermethod intoCollectionDtoResolverTrait. - Added
getOptionResolvermethod intoCollectionDtoResolverTrait. - Added property existence check for
resolvemethod inDtoResolverTrait.
- Transform
AbstractDtoResolverclass intoDtoResolverTrait. - Transform
AbstractCollectionDtoResolverclass intoCollectionDtoResolverTrait. - Transfer
setDefinedmethod fromconfigureOptionstoinjectResolverinDtoResolverTrait - Fixed annotations into
CollectionDtoResolverInterface,CollectionDtoResolverTrait,DtoResolverInterface,DtoResolverTrait.
- Added
Iteratorimplementation for theAbstractCollectionDtoResolver.
- Added
DtoResolverFactory.
- Process property name normalization before resolving.
- Improved stability against recursion.
- Fixed circular reference in the default realisation of the
configureOptionsmethod.
- First release of this component.