0 votes

When reusing modules between projects, I often include a few abstract entities that I can inherit from in my projects.

If there an abstract entity that I don't inherit from in this project, but do in others, then upon export, that entity is updated to have a class comment:

  • @ORM\Entity

instead of:

  • @ORM\MappedSuperclass

What I would like to be able to do is to ensure this doesn't happen. Either by manually specifying a class to be a mapped superclass instead of an entity, or by excluding a bundle from being exported entirely.

If either of these are currently possible, I'm unaware how.

Please help. Thank you.


in Solved by (670 points)
recategorized by

1 Answer

+1 vote
Best answer


new feature to explicitly mark the entity as MappedSuperclass is introduced in the latest beta.


enter image description here

by Skipper developer (136k points)
selected by