sidus/converter-bundle
最新稳定版本:0.2.6
Composer 安装命令:
composer require sidus/converter-bundle
包简介
Alternative to Symfony/Serializer to convert complex data types using Yaml configuration.
README 文档
README
Alternative to Symfony/Serializer to convert complex data types using Yaml configuration.
Event handling order (priority)
- CheckInputTypeSubscriber (10000)
- Ensure the input type is supported
- BehaviorsHandlerSubscriber (1200)
- Attach mapping configurations from behaviors
- PropertiesExtractorSubscriber (1000)
- Extract properties from the input data based on the mapping configuration
- AutoMappingExtractorSubscriber (900)
- Automatically extract remaining properties from the input if the auto_mapping option is enabled
- TransformerSubscriber (800)
- Transform the extracted properties using the transformer configurations
- OutputCreatorSubscriber (400)
- Create the output object, either by using the constructor and the available properties or by creating a new instance without the constructor if the hydrate_object option is enabled.
- HydratorSubscriber (200)
- Hydrate the output object using the transformed properties if the hydrate_object option is enabled.
- PropertiesSetterSubscriber (0)
- Set the properties on the output object by using the PropertyAccessor
- CheckRemainingPropertiesSubscriber (-10000)
- Check if there are remaining properties in the input data that have not been processed
统计信息
- 总下载量: 150
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-20