Multiple discrimination levels while using Doctrine2

前端 未结 2 1417
面向向阳花
面向向阳花 2021-01-13 04:35

I\'m using Doctrine2 to manage my model below: There\'s an abstract concept Content with a Composite pattern in Gallery, also an abstract concept <

2条回答
  •  感情败类
    2021-01-13 05:13

    If they're all abstract I find it makes more sense to put DiscriminatorMap only in the top level entity.

提交回复
热议问题