From 4b87f5827fcbb92fc7c4d73241e040c84a78c17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Brabec?= Date: Fri, 25 Sep 2015 12:47:51 +0200 Subject: [PATCH] Clarify @DiscriminatorMap reqirement When trying to setup MTI with doctrine, this was always the sentence where I stopped reading as it seems useless if you are forced to specify list of children when you don't even know them. Today I accidentaly read further and found out that this is not necessary. --- docs/en/reference/inheritance-mapping.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/en/reference/inheritance-mapping.rst b/docs/en/reference/inheritance-mapping.rst index 9a0d3c208d3..40f50962abd 100644 --- a/docs/en/reference/inheritance-mapping.rst +++ b/docs/en/reference/inheritance-mapping.rst @@ -125,9 +125,8 @@ Example: Things to note: -- The @InheritanceType, @DiscriminatorColumn and @DiscriminatorMap - must be specified on the topmost class that is part of the mapped - entity hierarchy. +- The @InheritanceType and @DiscriminatorColumn must be specified + on the topmost class that is part of the mapped entity hierarchy. - The @DiscriminatorMap specifies which values of the discriminator column identify a row as being of a certain type. In the case above a value of "person" identifies a row as being of