Doctrine ODM has annotation (collection) to specify which name should be used for collection. It defaults to class name but can be changed easily.
However I have mapped superclass which is extended by other classes. Inheritance type is single collection and this collection is named after the base abstract class. How can I change this name?
Let's say I have class Base, that gets extended. But I want the collection to be named Items. I obviously don't want to change annotations in all extending classes as it is quite redundant and prone to error.