disparity/fixrel
Composer 安装命令:
composer require disparity/fixrel
包简介
Two way relationship fixer for Doctrine ORM
README 文档
README
Two way relationship fixer for Doctrine ORM entities
Description
Associations between entities are represented just like in regular object-oriented PHP code using references to other objects or collections of objects.
Association is a two-way relationship between objects, so changing the relationship on only one side breaks the consistency of the data.
This requires that you choose the right side of the change (because the doctrine will only check the owning side of an association for changes).
This library makes it easy to make changes in the relations of objects, automatically changing relationships in related objects. This makes it possible to make changes on either side of the association; since owner-side will contain a reference to the correct entity.
Documentation
Read full documentation.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-17