- 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::definedProperties
and annotation return typeDtoResolverTrait::getDefinedProperties()
.
- Fixed properties selection with not empty option resolver in
DtoResolverTrait
.
- Added trait
DtoArrayAccessTrait
for implement ArrayAccess interface - Added to interface
DtoResolverInterface
functiongetDefinedProperties
.
- Changed
DtoResolverTrait
added implementationDtoResolverInterface
. - Changed
CollectionDtoResolverInterface
optimization code.
- Added possibility to build collection by specific collection item field.
- Added
CollectionDtoResolverTrait::__construct()
with optionalOptionsResolver
. - Added
DtoResolverTrait::__construct()
with requiredarray $data
and optionalOptionsResolver
. - Added static method
CollectionDtoResolverInterface::getItemDtoClassName
.
- Removed
CollectionDtoResolverInterface::injectResolver
. - Removed
CollectionDtoResolverInterface::getEntryDtoClassName
. - Removed
DtoResolverInterface::injectResolver
andDtoResolverInterface::resolve
. - Removed
DtoResolverFactory
.
- Added
jsonSerialize
method inCollectionDtoResolverTrait
. CollectionDtoResolverInterface
implementsJsonSerializable
now.
- Removed
createDto
method inDtoResolverFactory
.
- Added
.phpstorm.meta.php
. - Added
DtoResolverFactory::create()
.
- Added
injectResolver
method intoCollectionDtoResolverTrait
. - Added
getOptionResolver
method intoCollectionDtoResolverTrait
. - Added property existence check for
resolve
method inDtoResolverTrait
.
- Transform
AbstractDtoResolver
class intoDtoResolverTrait
. - Transform
AbstractCollectionDtoResolver
class intoCollectionDtoResolverTrait
. - Transfer
setDefined
method fromconfigureOptions
toinjectResolver
inDtoResolverTrait
- Fixed annotations into
CollectionDtoResolverInterface
,CollectionDtoResolverTrait
,DtoResolverInterface
,DtoResolverTrait
.
- Added
Iterator
implementation for theAbstractCollectionDtoResolver
.
- Added
DtoResolverFactory
.
- Process property name normalization before resolving.
- Improved stability against recursion.
- Fixed circular reference in the default realisation of the
configureOptions
method.
- First release of this component.