doctrine/doctrine2 — pull request #533 by Padam87 (2012-12-11 19:45:56+00:00)
Title: added DiscriminatorMapEntry mapping 

In Symfony2, if the main entity is in a separate bundle, from a vendor, changing the DiscriminatorMap is not a good idea.
Thats why we should be able to add entries to the map.

Mapping:

yaml:

discriminatorMapEntry: keyHere

annotation:

@DiscriminatorMapEntry("keyHere")

xml: