controlbit/dto-mapper
最新稳定版本:v1.0
Composer 安装命令:
composer require controlbit/dto-mapper
包简介
README 文档
README
Quick setup
composer require controlbit/dto-mapper
Add to your bundles.php line:
ControlBit\Dto\Bridge\Symfony\DtoBundle::class => ['all' => true],
Inject ControlBit\Dto\Contract\Mapper\MapperInterface in your Service and Map to/from your DTOs.
Next, read Usage and you're good!
Documentation
TODO (Upcoming):
- Mapping UploadedFile into \SplFileInfo (could be that half of it is working already)
- Caching Mapping Metadata
- Improve error messages
- Imrove
Fromattribute with support for nested objects. ex From('foo.bar.baz')
统计信息
- 总下载量: 133
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: CC-BY-4.0
- 更新时间: 2024-05-20