├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── composer-require-checker.json ├── composer.json ├── config └── di.php ├── rector.php └── src ├── ArrayData.php ├── Attribute ├── Data │ ├── DataAttributeInterface.php │ └── DataAttributeResolverInterface.php ├── Parameter │ ├── Collection.php │ ├── CollectionResolver.php │ ├── Data.php │ ├── Di.php │ ├── DiNotFoundException.php │ ├── DiResolver.php │ ├── LeftTrim.php │ ├── LeftTrimResolver.php │ ├── ParameterAttributeInterface.php │ ├── ParameterAttributeResolverInterface.php │ ├── RightTrim.php │ ├── RightTrimResolver.php │ ├── ToArrayOfStrings.php │ ├── ToArrayOfStringsResolver.php │ ├── ToDateTime.php │ ├── ToDateTimeResolver.php │ ├── ToString.php │ ├── Trim.php │ └── TrimResolver.php └── SkipHydration.php ├── AttributeHandling ├── DataAttributesHandler.php ├── Exception │ ├── AttributeResolverNonInstantiableException.php │ └── UnexpectedAttributeException.php ├── ParameterAttributeResolveContext.php ├── ParameterAttributesHandler.php └── ResolverFactory │ ├── AttributeResolverFactoryInterface.php │ ├── ContainerAttributeResolverFactory.php │ └── ReflectionAttributeResolverFactory.php ├── DataInterface.php ├── Exception ├── AbstractClassException.php ├── NonExistClassException.php ├── NonInstantiableException.php ├── NonPublicConstructorException.php └── WrongConstructorArgumentsCountException.php ├── Hydrator.php ├── HydratorInterface.php ├── Internal ├── ConstructorArgumentsExtractor.php └── ReflectionFilter.php ├── ObjectFactory ├── ContainerObjectFactory.php ├── ObjectFactoryInterface.php └── ReflectionObjectFactory.php ├── ObjectMap.php ├── Result.php └── TypeCaster ├── CompositeTypeCaster.php ├── EnumTypeCaster.php ├── HydratorTypeCaster.php ├── NoTypeCaster.php ├── NullTypeCaster.php ├── PhpNativeTypeCaster.php ├── TypeCastContext.php └── TypeCasterInterface.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/README.md -------------------------------------------------------------------------------- /composer-require-checker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/composer-require-checker.json -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/composer.json -------------------------------------------------------------------------------- /config/di.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/config/di.php -------------------------------------------------------------------------------- /rector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/rector.php -------------------------------------------------------------------------------- /src/ArrayData.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/ArrayData.php -------------------------------------------------------------------------------- /src/Attribute/Data/DataAttributeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Data/DataAttributeInterface.php -------------------------------------------------------------------------------- /src/Attribute/Data/DataAttributeResolverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Data/DataAttributeResolverInterface.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/Collection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/Collection.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/CollectionResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/CollectionResolver.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/Data.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/Data.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/Di.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/Di.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/DiNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/DiNotFoundException.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/DiResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/DiResolver.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/LeftTrim.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/LeftTrim.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/LeftTrimResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/LeftTrimResolver.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/ParameterAttributeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/ParameterAttributeInterface.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/ParameterAttributeResolverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/ParameterAttributeResolverInterface.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/RightTrim.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/RightTrim.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/RightTrimResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/RightTrimResolver.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/ToArrayOfStrings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/ToArrayOfStrings.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/ToArrayOfStringsResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/ToArrayOfStringsResolver.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/ToDateTime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/ToDateTime.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/ToDateTimeResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/ToDateTimeResolver.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/ToString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/ToString.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/Trim.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/Trim.php -------------------------------------------------------------------------------- /src/Attribute/Parameter/TrimResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/Parameter/TrimResolver.php -------------------------------------------------------------------------------- /src/Attribute/SkipHydration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Attribute/SkipHydration.php -------------------------------------------------------------------------------- /src/AttributeHandling/DataAttributesHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/DataAttributesHandler.php -------------------------------------------------------------------------------- /src/AttributeHandling/Exception/AttributeResolverNonInstantiableException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/Exception/AttributeResolverNonInstantiableException.php -------------------------------------------------------------------------------- /src/AttributeHandling/Exception/UnexpectedAttributeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/Exception/UnexpectedAttributeException.php -------------------------------------------------------------------------------- /src/AttributeHandling/ParameterAttributeResolveContext.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/ParameterAttributeResolveContext.php -------------------------------------------------------------------------------- /src/AttributeHandling/ParameterAttributesHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/ParameterAttributesHandler.php -------------------------------------------------------------------------------- /src/AttributeHandling/ResolverFactory/AttributeResolverFactoryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/ResolverFactory/AttributeResolverFactoryInterface.php -------------------------------------------------------------------------------- /src/AttributeHandling/ResolverFactory/ContainerAttributeResolverFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/ResolverFactory/ContainerAttributeResolverFactory.php -------------------------------------------------------------------------------- /src/AttributeHandling/ResolverFactory/ReflectionAttributeResolverFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/AttributeHandling/ResolverFactory/ReflectionAttributeResolverFactory.php -------------------------------------------------------------------------------- /src/DataInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/DataInterface.php -------------------------------------------------------------------------------- /src/Exception/AbstractClassException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Exception/AbstractClassException.php -------------------------------------------------------------------------------- /src/Exception/NonExistClassException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Exception/NonExistClassException.php -------------------------------------------------------------------------------- /src/Exception/NonInstantiableException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Exception/NonInstantiableException.php -------------------------------------------------------------------------------- /src/Exception/NonPublicConstructorException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Exception/NonPublicConstructorException.php -------------------------------------------------------------------------------- /src/Exception/WrongConstructorArgumentsCountException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Exception/WrongConstructorArgumentsCountException.php -------------------------------------------------------------------------------- /src/Hydrator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Hydrator.php -------------------------------------------------------------------------------- /src/HydratorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/HydratorInterface.php -------------------------------------------------------------------------------- /src/Internal/ConstructorArgumentsExtractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Internal/ConstructorArgumentsExtractor.php -------------------------------------------------------------------------------- /src/Internal/ReflectionFilter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Internal/ReflectionFilter.php -------------------------------------------------------------------------------- /src/ObjectFactory/ContainerObjectFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/ObjectFactory/ContainerObjectFactory.php -------------------------------------------------------------------------------- /src/ObjectFactory/ObjectFactoryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/ObjectFactory/ObjectFactoryInterface.php -------------------------------------------------------------------------------- /src/ObjectFactory/ReflectionObjectFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/ObjectFactory/ReflectionObjectFactory.php -------------------------------------------------------------------------------- /src/ObjectMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/ObjectMap.php -------------------------------------------------------------------------------- /src/Result.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/Result.php -------------------------------------------------------------------------------- /src/TypeCaster/CompositeTypeCaster.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/CompositeTypeCaster.php -------------------------------------------------------------------------------- /src/TypeCaster/EnumTypeCaster.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/EnumTypeCaster.php -------------------------------------------------------------------------------- /src/TypeCaster/HydratorTypeCaster.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/HydratorTypeCaster.php -------------------------------------------------------------------------------- /src/TypeCaster/NoTypeCaster.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/NoTypeCaster.php -------------------------------------------------------------------------------- /src/TypeCaster/NullTypeCaster.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/NullTypeCaster.php -------------------------------------------------------------------------------- /src/TypeCaster/PhpNativeTypeCaster.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/PhpNativeTypeCaster.php -------------------------------------------------------------------------------- /src/TypeCaster/TypeCastContext.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/TypeCastContext.php -------------------------------------------------------------------------------- /src/TypeCaster/TypeCasterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/hydrator/HEAD/src/TypeCaster/TypeCasterInterface.php --------------------------------------------------------------------------------