Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
This issue is created automatically through a Github pull request on behalf of Padam87:
Url: https://github.com/doctrine/doctrine2/pull/533
Message:
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:
<discriminator-map-entry name="keyHere" />
A related Github Pull-Request [GH-533] was closed
https://github.com/doctrine/doctrine2/pull/533